home-assistant-core/tests
Penny Wood f195ecca4b Consolidate all platforms that have tests (#22109)
* Moved climate components with tests into platform dirs.

* Updated tests from climate component.

* Moved binary_sensor components with tests into platform dirs.

* Updated tests from binary_sensor component.

* Moved calendar components with tests into platform dirs.

* Updated tests from calendar component.

* Moved camera components with tests into platform dirs.

* Updated tests from camera component.

* Moved cover components with tests into platform dirs.

* Updated tests from cover component.

* Moved device_tracker components with tests into platform dirs.

* Updated tests from device_tracker component.

* Moved fan components with tests into platform dirs.

* Updated tests from fan component.

* Moved geo_location components with tests into platform dirs.

* Updated tests from geo_location component.

* Moved image_processing components with tests into platform dirs.

* Updated tests from image_processing component.

* Moved light components with tests into platform dirs.

* Updated tests from light component.

* Moved lock components with tests into platform dirs.

* Moved media_player components with tests into platform dirs.

* Updated tests from media_player component.

* Moved scene components with tests into platform dirs.

* Moved sensor components with tests into platform dirs.

* Updated tests from sensor component.

* Moved switch components with tests into platform dirs.

* Updated tests from sensor component.

* Moved vacuum components with tests into platform dirs.

* Updated tests from vacuum component.

* Moved weather components with tests into platform dirs.

* Fixed __init__.py files

* Fixes for stuff moved as part of this branch.

* Fix stuff needed to merge with balloob's branch.

* Formatting issues.

* Missing __init__.py files.

* Fix-ups

* Fixup

* Regenerated requirements.

* Linting errors fixed.

* Fixed more broken tests.

* Missing init files.

* Fix broken tests.

* More broken tests

* There seems to be a thread race condition.
I suspect the logger stuff is running in another thread, which means waiting until the aio loop is done is missing the log messages.
Used sleep instead because that allows the logger thread to run. I think the api_streams sensor might not be thread safe.

* Disabled tests, will remove sensor in #22147

* Updated coverage and codeowners.
2019-03-18 23:07:39 -07:00
..
auth Add area permission check (#21835) 2019-03-11 11:02:37 -07:00
components Consolidate all platforms that have tests (#22109) 2019-03-18 23:07:39 -07:00
fixtures Make Ambient PWS async and cloud-push (#20332) 2019-01-28 15:35:39 -08:00
helpers Add a service require_admin wrapper (#21953) 2019-03-12 22:09:50 -07:00
mock Add zwave.network_complete_some_dead event (#16894) 2018-09-28 19:14:57 +02:00
resources
scripts Mqtt light refactor (#18227) 2018-11-27 14:00:05 +01:00
test_util Add Hass.io user headers to supervisor proxy 2019-01-11 10:00:38 -08:00
testing_config Prevent partial custom component overlays (#21070) 2019-02-21 09:41:36 +01:00
util Remove pytest warning message (#21713) 2019-03-07 16:59:15 +05:30
__init__.py async HTTP component (#3914) 2016-10-23 23:48:01 -07:00
common.py Add config entry remove callback (#21576) 2019-03-01 21:13:55 -08:00
conftest.py Deprecate http.api_password (#21884) 2019-03-10 19:55:36 -07:00
test_bootstrap.py Remove usage of "run_until_complete" (#16617) 2018-09-19 15:40:02 +02:00
test_config.py Deprecate http.api_password (#21884) 2019-03-10 19:55:36 -07:00
test_config_entries.py Add config entry remove callback (#21576) 2019-03-01 21:13:55 -08:00
test_core.py Re-thrown exception occurred in the blocking service call (#21573) 2019-03-01 23:09:31 -08:00
test_data_entry_flow.py Allow finish_flow callback to change data entry result type (#16100) 2018-08-21 10:48:24 -07:00
test_loader.py Prevent partial custom component overlays (#21070) 2019-02-21 09:41:36 +01:00
test_main.py Hello Python 3.5 (#12610) 2018-02-22 23:22:27 -08:00
test_requirements.py Improve package loadable (#16237) 2018-08-28 12:52:18 +02:00
test_setup.py Lint 2019-02-15 10:57:02 +01:00