Update Hass.io when core config is updated (#24461)
* Update Hass.io when core config is updated * Lint * Fix tests * Lint sigh
This commit is contained in:
1 parent
236c5deeee
commit
820b381a8d
5 files changed
+45
-32
No files matched your search
@@ -56,7 +56,7 @@ async def test_hassio_addon_panel_startup(hass, aioclient_mock, hassio_env):
|
||||
})
|
||||
await hass.async_block_till_done()
|
||||
|
||||
assert aioclient_mock.call_count == 2
|
||||
assert aioclient_mock.call_count == 3
|
||||
assert mock_panel.called
|
||||
mock_panel.assert_called_with(
|
||||
hass, 'test1', {
|
||||
@@ -98,7 +98,7 @@ async def test_hassio_addon_panel_api(hass, aioclient_mock, hassio_env,
|
||||
})
|
||||
await hass.async_block_till_done()
|
||||
|
||||
assert aioclient_mock.call_count == 2
|
||||
assert aioclient_mock.call_count == 3
|
||||
assert mock_panel.called
|
||||
mock_panel.assert_called_with(
|
||||
hass, 'test1', {
|
||||
|
||||
Reference in new issue
Block a user