Skip to content

Commit 75a4d64

Browse files
committed
added non-empty config since hass throws exception when config is empty
1 parent de1851e commit 75a4d64

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

tests/components/default_config/test_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ def recorder_url_mock():
1515

1616
async def test_setup(hass):
1717
"""Test setup."""
18-
assert await async_setup_component(hass, "default_config", {})
18+
assert await async_setup_component(hass, "default_config", {"foo": "bar"})

tests/ignore_uncaught_exceptions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
("tests.components.cast.test_media_player", "test_entry_setup_single_config"),
55
("tests.components.cast.test_media_player", "test_entry_setup_list_config"),
66
("tests.components.cast.test_media_player", "test_entry_setup_platform_not_ready"),
7-
("tests.components.default_config.test_init", "test_setup"),
87
("tests.components.demo.test_init", "test_setting_up_demo"),
98
("tests.components.discovery.test_init", "test_discover_config_flow"),
109
("tests.components.dyson.test_air_quality", "test_purecool_aiq_attributes"),

0 commit comments

Comments
 (0)