Fix matter mocks (#144271)

This commit is contained in:
Erik Montnemery 2025-05-05 17:59:57 +02:00 committed by GitHub
parent 826d28974b
commit 633c770a48
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,6 +43,7 @@ async def matter_client_fixture() -> AsyncGenerator[MagicMock]:
pytest.fail("Listen was not cancelled!")
client.connect = AsyncMock(side_effect=connect)
client.check_node_update = AsyncMock(return_value=None)
client.start_listening = AsyncMock(side_effect=listen)
client.server_info = ServerInfoMessage(
fabric_id=MOCK_FABRIC_ID,