Adapt otbr to upstream openthread REST API changes (#93544)

* Adapt otbr to upstream openthread REST API changes

* Bump python-otbr-api to 2.0.0
This commit is contained in:
Erik Montnemery
2023-05-30 10:11:21 +02:00
committed by GitHub
parent 49ae298c55
commit 901624ad6f
9 changed files with 23 additions and 25 deletions
+1 -3
View File
@@ -97,9 +97,7 @@ async def test_create_network(
assert msg["result"] is None
create_dataset_mock.assert_called_once_with(
python_otbr_api.models.OperationalDataSet(
channel=15, network_name="home-assistant"
)
python_otbr_api.models.ActiveDataSet(channel=15, network_name="home-assistant")
)
assert len(set_enabled_mock.mock_calls) == 2
assert set_enabled_mock.mock_calls[0][1][0] is False