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 GitHub
parent aa3657e071
commit 473db48943
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View file

@ -8,5 +8,5 @@
"documentation": "https://www.home-assistant.io/integrations/otbr", "documentation": "https://www.home-assistant.io/integrations/otbr",
"integration_type": "service", "integration_type": "service",
"iot_class": "local_polling", "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", "documentation": "https://www.home-assistant.io/integrations/thread",
"integration_type": "service", "integration_type": "service",
"iot_class": "local_polling", "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."] "zeroconf": ["_meshcop._udp.local."]
} }

View file

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

View file

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

View file

@ -98,7 +98,7 @@ async def test_user_flow_router_not_setup(
assert aioclient_mock.mock_calls[-1][0] == "POST" assert aioclient_mock.mock_calls[-1][0] == "POST"
assert aioclient_mock.mock_calls[-1][1].path == "/node/state" 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 = { expected_data = {
"url": "http://custom_url:1234", "url": "http://custom_url:1234",
@ -230,7 +230,7 @@ async def test_hassio_discovery_flow_router_not_setup(
assert aioclient_mock.mock_calls[-1][0] == "POST" assert aioclient_mock.mock_calls[-1][0] == "POST"
assert aioclient_mock.mock_calls[-1][1].path == "/node/state" 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 = { expected_data = {
"url": f"http://{HASSIO_DATA.config['host']}:{HASSIO_DATA.config['port']}", "url": f"http://{HASSIO_DATA.config['host']}:{HASSIO_DATA.config['port']}",
@ -279,7 +279,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][0] == "POST"
assert aioclient_mock.mock_calls[-1][1].path == "/node/state" 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 = { expected_data = {
"url": f"http://{HASSIO_DATA.config['host']}:{HASSIO_DATA.config['port']}", "url": f"http://{HASSIO_DATA.config['host']}:{HASSIO_DATA.config['port']}",