Fix deconz test
This commit is contained in:
parent
d4c94f0cb2
commit
d925068770
1 changed files with 1 additions and 0 deletions
|
@ -136,6 +136,7 @@ async def test_unload_entry(hass):
|
|||
entry.data = {'host': '1.2.3.4', 'port': 80, 'api_key': '1234567890ABCDEF'}
|
||||
entry.async_unload.return_value = mock_coro(True)
|
||||
deconzmock = Mock()
|
||||
deconzmock.config.mac = 'mock-mac'
|
||||
deconzmock.async_load_parameters.return_value = mock_coro(True)
|
||||
deconzmock.sensors = {}
|
||||
with patch('pydeconz.DeconzSession', return_value=deconzmock):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue