Enable Ruff PT015 (#86775)
This commit is contained in:
parent
49148421cb
commit
57cf11f067
19 changed files with 43 additions and 36 deletions
|
@ -34,7 +34,7 @@ async def matter_client_fixture() -> AsyncGenerator[MagicMock, None]:
|
|||
init_ready.set()
|
||||
listen_block = asyncio.Event()
|
||||
await listen_block.wait()
|
||||
assert False, "Listen was not cancelled!"
|
||||
pytest.fail("Listen was not cancelled!")
|
||||
|
||||
client.connect = AsyncMock(side_effect=connect)
|
||||
client.start_listening = AsyncMock(side_effect=listen)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue