mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Cleanup known_devices.yaml in device_tracker tests (#74404)
This commit is contained in:
parent
0768ed453d
commit
14e5001d0c
@ -162,7 +162,7 @@ async def test_duplicate_mac_dev_id(mock_warning, hass):
|
|||||||
assert "Duplicate device IDs" in args[0], "Duplicate device IDs warning expected"
|
assert "Duplicate device IDs" in args[0], "Duplicate device IDs warning expected"
|
||||||
|
|
||||||
|
|
||||||
async def test_setup_without_yaml_file(hass, enable_custom_integrations):
|
async def test_setup_without_yaml_file(hass, yaml_devices, enable_custom_integrations):
|
||||||
"""Test with no YAML file."""
|
"""Test with no YAML file."""
|
||||||
with assert_setup_component(1, device_tracker.DOMAIN):
|
with assert_setup_component(1, device_tracker.DOMAIN):
|
||||||
assert await async_setup_component(hass, device_tracker.DOMAIN, TEST_PLATFORM)
|
assert await async_setup_component(hass, device_tracker.DOMAIN, TEST_PLATFORM)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user