mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
Bump python-otbr-api to 1.0.4 (#88613)
* Bump python-otbr-api to 1.0.4 * Adjust tests
This commit is contained in:
parent
0d2006bf33
commit
2db8d4b73a
@ -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"]
|
||||||
}
|
}
|
||||||
|
@ -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."]
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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][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",
|
||||||
@ -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][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']}",
|
||||||
@ -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][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']}",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user