hass-core/tests
John Luetke 7c42f4b45b (Re)Add support for multiple Pi-Holes (#27569)
* Update configuration schema to support multiple Pi-holes

* Construct sensors for each configured Pi-hole

* Ensure each Pi-hole has a unique name

* Update services to handle multiple Pi-holes

* Update tests for multiple configurations

* Refactor tests to support service testing

* Fix else-raise per pyliunt

* Per code review, add all entities in a single call

* Per code review, add the default name as default.

* Per code review, add cv.ensure_list to prevent breaking change

* Per code review, move name validation to schema

* Remove default name

* Per code review, validate api_key in schema definition

* Per code review, rename variables

* Per code review, use list comprehension

* Ensure unique slug names in config validation

* Per code review, refactor to CoroutineMock

* Fix adding sensor entities

* Per code review, refactor mock function creation

* Per code review, refactor mock function return values
2019-12-12 19:43:49 +01:00
..
auth Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
components (Re)Add support for multiple Pi-Holes (#27569) 2019-12-12 19:43:49 +01:00
fixtures Add Elgato Key Light integration (#29592) 2019-12-08 09:26:31 +01:00
helpers Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
mock Black 2019-07-31 12:25:30 -07:00
resources
scripts Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_util Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
testing_config Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
util Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
__init__.py
bandit.yaml Add bandit, use to catch known vulnerable XML parsing (#28341) 2019-11-18 09:10:15 +01:00
common.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
conftest.py Remove uvloop event policy (#29835) 2019-12-11 13:28:50 +01:00
test_bootstrap.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_config.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_config_entries.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_core.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_data_entry_flow.py Black 2019-07-31 12:25:30 -07:00
test_loader.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_main.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_requirements.py Sort imports for requirements.py and its test using isort (#29836) 2019-12-11 12:12:06 +01:00
test_setup.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00