core/tests
Tobias Sauerwein 81ad56b8ad
Add events on cloud connect and disconnect (#65215)
* Add events on cloud connect and disconnect

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Use event capture helper

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Provide listener method instead of public event

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Add test for disconnect notification

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Use Enum

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Add module level api

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Clean up dead code

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Flake8

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Clean up

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-02 18:11:06 +01:00
..
auth
backports
components Add events on cloud connect and disconnect (#65215) 2022-02-02 18:11:06 +01:00
fixtures Clean up Ambient PWS tests (#64486) 2022-01-19 17:03:53 -07:00
hassfest
helpers Add test: warn entity_category assigned as str (#65142) 2022-01-28 21:46:57 +01:00
mock
pylint Adjust pylint plugin to enforce device_tracker type hints (#64903) 2022-01-25 18:21:59 +01:00
resources
scripts
test_util
testing_config Make device tracker entities work better (#63328) 2022-01-04 23:16:43 -08:00
util Don't warn on time.sleep injected by the debugger (#65420) 2022-02-02 08:58:14 -08:00
__init__.py
bandit.yaml
common.py Update typing - collections.abc (3) (#63947) 2022-01-12 08:04:17 +01:00
conftest.py Add Home Assistant Content user (#64337) 2022-01-21 10:06:39 -08:00
ignore_uncaught_exceptions.py
test_bootstrap.py Import persistent notification part 1 (#63898) 2022-01-11 17:24:59 +01:00
test_config.py Remove groups.yaml from default config (#63366) 2022-01-04 23:16:08 -08:00
test_config_entries.py Automatically add entry title as name placeholder in reauth (#64078) 2022-01-18 14:18:16 -08:00
test_core.py
test_data_entry_flow.py
test_exceptions.py
test_loader.py Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
test_main.py
test_requirements.py
test_runner.py
test_setup.py Catch all exceptions on import component/platform (#64930) 2022-01-25 20:39:32 -08:00
test_test_fixtures.py