Skip to content
Snippets Groups Projects
Commit 4f9fc9b3 authored by Paulus Schoutsen's avatar Paulus Schoutsen Committed by Pascal Vizeli
Browse files

Don't create entity registry in tests (#16838)

parent 069b8196
Branches
Tags
No related merge requests found
......@@ -749,9 +749,11 @@ class TestZWaveDeviceEntityValues(unittest.TestCase):
self.device_config = {'mock_component.registry_id': {
zwave.CONF_IGNORED: True
}}
self.registry.async_get_or_create(
'mock_component', zwave.DOMAIN, '567-1000',
suggested_object_id='registry_id')
with patch.object(self.registry, 'async_schedule_save'):
self.registry.async_get_or_create(
'mock_component', zwave.DOMAIN, '567-1000',
suggested_object_id='registry_id')
zwave.ZWaveDeviceEntityValues(
hass=self.hass,
schema=self.mock_schema,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment