core/tests
Glenn Waters d0b37229dd
Switch to config_flow for Environment Canada (#57127)
* Add config_flow to Environment Canada

* Add unique_id

* Remove erroneous directory.

* Tests working!!

* Add back setup.

* First cut of import.

* Temp

* Tweak names.

* Import config.yaml.

* Clean up imports.

* Import working! Some refactor to clean it up.

* Add import test.

* Small optimization.

* Fix comments from code review.

* Remove CONF_NAME and config_flow for it.

* Fixup strings to match new config_flow.

* Fixes for comments from last review.

* Update tests to match new import code.

* Clean up use of CONF_TITLE; fix lint error on push.

* Phew. More cleanup on import. Really streamlined now!

* Update tests.

* Fix lint error.

* Fix lint error, try 2.

* Revert unique_id to use location as part of ID.

* Fix code review comments.

* Fix review comments.
2021-10-11 17:33:29 +02:00
..
auth Disconnect websockets after token is revoked (#57091) 2021-10-08 09:38:22 -07:00
components Switch to config_flow for Environment Canada (#57127) 2021-10-11 17:33:29 +02:00
fixtures Add config flow for efergy (#56890) 2021-10-11 10:07:31 +02:00
hassfest Validate requirements format in hassfest (#55094) 2021-08-24 08:51:07 +02:00
helpers Refactor persistent notification to no longer route all data via a service (#57157) 2021-10-07 12:58:00 +02:00
mock
resources
scripts Allow IntegrationNotFound when checking config in safe mode (#56283) 2021-09-17 22:25:50 -07:00
test_util Use HTTPStatus instead of HTTP_* constants in various test mocks (#56543) 2021-10-01 15:52:45 -07:00
testing_config Add support for white to light groups (#55082) 2021-08-23 18:29:44 +02:00
util Add kPa as a pressure unit (#56885) 2021-10-01 08:08:04 -07:00
__init__.py
bandit.yaml
common.py Index config entries by domain (#56316) 2021-09-17 10:39:00 -10:00
conftest.py Block tests from opening sockets (#55516) 2021-10-05 14:46:09 -10:00
ignore_uncaught_exceptions.py
test_bootstrap.py Report integrations that block startup wrap up (#56003) 2021-09-09 20:39:22 -07:00
test_config.py Ensure internal/external URL have no path (#54304) 2021-08-09 09:38:09 +02:00
test_config_entries.py Refactor persistent notification to no longer route all data via a service (#57157) 2021-10-07 12:58:00 +02:00
test_core.py Fix external internal url core check (#54310) 2021-08-09 10:52:14 +02:00
test_data_entry_flow.py Use flow result type constants more (#51122) 2021-05-29 14:09:13 +02:00
test_exceptions.py Remove stale debug statements from tests (#51059) 2021-05-25 11:52:20 +02:00
test_loader.py Refactor persistent notification to no longer route all data via a service (#57157) 2021-10-07 12:58:00 +02:00
test_main.py
test_requirements.py Avoid checking if a package is installed if it already failed (#56698) 2021-09-26 22:32:25 -07:00
test_runner.py Avoid deadlock on shutdown when a task is shielded from cancelation (#56499) 2021-09-21 14:35:14 -07:00
test_setup.py
test_test_fixtures.py Block tests from opening sockets (#55516) 2021-10-05 14:46:09 -10:00