1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Mqtt prepare test base part1 (#89796)

* Refactor test_reloadable

* Refactor test_disabling_and_enabling_entry

* optimize test_unload_config_entry

* Cleanup help_test_unload_config_entry

* cleanup test_unload_entry

* Update test tls_version

* More tests to entry only

* Add validate and hassconfig patch

* Revert fixture changes patch_hass_config

* Follow up comments
This commit is contained in:
Jan Bouwhuis
2023-03-16 15:57:01 +01:00
committed by GitHub
parent 886c2635ad
commit c81a38effb
28 changed files with 389 additions and 516 deletions

View File

@@ -1588,7 +1588,7 @@ async def test_clean_up_registry_monitoring(
# Enload the entry
# The monitoring should be cleared
await help_test_unload_config_entry(hass, tmp_path, {})
await help_test_unload_config_entry(hass)
assert len(hooks) == 0