Bump python-otbr-api to 1.0.4 (#88613)

* Bump python-otbr-api to 1.0.4

* Adjust tests
This commit is contained in:
Erik Montnemery 2023-02-22 21:31:02 +01:00 committed by Paulus Schoutsen
parent 0d2006bf33
commit 2db8d4b73a
5 changed files with 7 additions and 7 deletions

View File

@ -8,5 +8,5 @@
"documentation": "https://www.home-assistant.io/integrations/otbr",
"integration_type": "service",
"iot_class": "local_polling",
"requirements": ["python-otbr-api==1.0.3"]
"requirements": ["python-otbr-api==1.0.4"]
}

View File

@ -7,6 +7,6 @@
"documentation": "https://www.home-assistant.io/integrations/thread",
"integration_type": "service",
"iot_class": "local_polling",
"requirements": ["python-otbr-api==1.0.3", "pyroute2==0.7.5"],
"requirements": ["python-otbr-api==1.0.4", "pyroute2==0.7.5"],
"zeroconf": ["_meshcop._udp.local."]
}

View File

@ -2097,7 +2097,7 @@ python-nest==4.2.0
# homeassistant.components.otbr
# homeassistant.components.thread
python-otbr-api==1.0.3
python-otbr-api==1.0.4
# homeassistant.components.picnic
python-picnic-api==1.1.0

View File

@ -1490,7 +1490,7 @@ python-nest==4.2.0
# homeassistant.components.otbr
# homeassistant.components.thread
python-otbr-api==1.0.3
python-otbr-api==1.0.4
# homeassistant.components.picnic
python-picnic-api==1.1.0

View File

@ -95,7 +95,7 @@ async def test_user_flow_router_not_setup(
assert aioclient_mock.mock_calls[-1][0] == "POST"
assert aioclient_mock.mock_calls[-1][1].path == "/node/state"
assert aioclient_mock.mock_calls[-1][2] == "enabled"
assert aioclient_mock.mock_calls[-1][2] == "enable"
expected_data = {
"url": "http://custom_url:1234",
@ -199,7 +199,7 @@ async def test_hassio_discovery_flow_router_not_setup(
assert aioclient_mock.mock_calls[-1][0] == "POST"
assert aioclient_mock.mock_calls[-1][1].path == "/node/state"
assert aioclient_mock.mock_calls[-1][2] == "enabled"
assert aioclient_mock.mock_calls[-1][2] == "enable"
expected_data = {
"url": f"http://{HASSIO_DATA.config['host']}:{HASSIO_DATA.config['port']}",
@ -248,7 +248,7 @@ async def test_hassio_discovery_flow_router_not_setup_has_preferred(
assert aioclient_mock.mock_calls[-1][0] == "POST"
assert aioclient_mock.mock_calls[-1][1].path == "/node/state"
assert aioclient_mock.mock_calls[-1][2] == "enabled"
assert aioclient_mock.mock_calls[-1][2] == "enable"
expected_data = {
"url": f"http://{HASSIO_DATA.config['host']}:{HASSIO_DATA.config['port']}",