mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Fix unhandled exceptions for config, default_config, harmony (#33731)
* replaced MagicMock with CoroutineMock to avoid exception * added conversion to str so mock returns unique-id that doesn't throw json exception * added non-empty config since hass throws exception when config is empty
This commit is contained in:
@@ -4,8 +4,6 @@ IGNORE_UNCAUGHT_EXCEPTIONS = [
|
||||
("tests.components.cast.test_media_player", "test_entry_setup_single_config"),
|
||||
("tests.components.cast.test_media_player", "test_entry_setup_list_config"),
|
||||
("tests.components.cast.test_media_player", "test_entry_setup_platform_not_ready"),
|
||||
("tests.components.config.test_group", "test_update_device_config"),
|
||||
("tests.components.default_config.test_init", "test_setup"),
|
||||
("tests.components.demo.test_init", "test_setting_up_demo"),
|
||||
("tests.components.discovery.test_init", "test_discover_config_flow"),
|
||||
("tests.components.dyson.test_air_quality", "test_purecool_aiq_attributes"),
|
||||
@@ -58,7 +56,4 @@ IGNORE_UNCAUGHT_JSON_EXCEPTIONS = [
|
||||
"tests.components.smartthings.test_init",
|
||||
"test_config_entry_loads_unconnected_cloud",
|
||||
),
|
||||
("tests.components.harmony.test_config_flow", "test_form_import"),
|
||||
("tests.components.harmony.test_config_flow", "test_form_ssdp"),
|
||||
("tests.components.harmony.test_config_flow", "test_user_form"),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user