mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
Patch save_json (#15046)
This commit is contained in:
parent
067e4f6d9a
commit
153ccda853
@ -229,6 +229,7 @@ async def setup_gateway(hass, mock_gateway, mock_api,
|
||||
patch('pytradfri.api.aiocoap_api.APIFactory.request', mock_api), \
|
||||
patch('pytradfri.Gateway', return_value=mock_gateway), \
|
||||
patch.object(tradfri, 'load_json', return_value=known_hosts), \
|
||||
patch.object(tradfri, 'save_json'), \
|
||||
patch.object(hass.components.configurator, 'request_config',
|
||||
request_config):
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user