Allow disabling home assistant watchdog (#109818)
This commit is contained in:
parent
35cb37ffb0
commit
a0e515df1a
2 changed files with 1 additions and 2 deletions
|
@ -506,7 +506,6 @@ class HassIO:
|
|||
options = {
|
||||
"ssl": CONF_SSL_CERTIFICATE in http_config,
|
||||
"port": port,
|
||||
"watchdog": True,
|
||||
"refresh_token": refresh_token.token,
|
||||
}
|
||||
|
||||
|
|
|
@ -293,7 +293,7 @@ async def test_setup_api_push_api_data(
|
|||
assert aioclient_mock.call_count == 19
|
||||
assert not aioclient_mock.mock_calls[1][2]["ssl"]
|
||||
assert aioclient_mock.mock_calls[1][2]["port"] == 9999
|
||||
assert aioclient_mock.mock_calls[1][2]["watchdog"]
|
||||
assert "watchdog" not in aioclient_mock.mock_calls[1][2]
|
||||
|
||||
|
||||
async def test_setup_api_push_api_data_server_host(
|
||||
|
|
Loading…
Add table
Reference in a new issue