mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-18 22:56:31 +00:00
Fix API pytest
This commit is contained in:
parent
20e527a9db
commit
f09faab9c3
@ -19,7 +19,7 @@ async def test_api_docker_info(api_client: TestClient):
|
|||||||
|
|
||||||
async def test_api_network_enable_ipv6(coresys: CoreSys, api_client: TestClient):
|
async def test_api_network_enable_ipv6(coresys: CoreSys, api_client: TestClient):
|
||||||
"""Test setting docker network for enabled IPv6."""
|
"""Test setting docker network for enabled IPv6."""
|
||||||
assert coresys.docker.config.enable_ipv6 is False
|
assert coresys.docker.config.enable_ipv6 is None
|
||||||
|
|
||||||
resp = await api_client.post("/docker/options", json={"enable_ipv6": True})
|
resp = await api_client.post("/docker/options", json={"enable_ipv6": True})
|
||||||
assert resp.status == 200
|
assert resp.status == 200
|
||||||
|
Loading…
x
Reference in New Issue
Block a user