mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 16:57:10 +00:00
Allow disabling home assistant watchdog (#109818)
This commit is contained in:
parent
35cb37ffb0
commit
a0e515df1a
@ -506,7 +506,6 @@ class HassIO:
|
|||||||
options = {
|
options = {
|
||||||
"ssl": CONF_SSL_CERTIFICATE in http_config,
|
"ssl": CONF_SSL_CERTIFICATE in http_config,
|
||||||
"port": port,
|
"port": port,
|
||||||
"watchdog": True,
|
|
||||||
"refresh_token": refresh_token.token,
|
"refresh_token": refresh_token.token,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -293,7 +293,7 @@ async def test_setup_api_push_api_data(
|
|||||||
assert aioclient_mock.call_count == 19
|
assert aioclient_mock.call_count == 19
|
||||||
assert not aioclient_mock.mock_calls[1][2]["ssl"]
|
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]["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(
|
async def test_setup_api_push_api_data_server_host(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user