mirror of
https://github.com/home-assistant/core.git
synced 2025-12-23 04:19:34 +00:00
Enable Ruff SIM201 (#88171)
This commit is contained in:
@@ -2123,7 +2123,7 @@ async def test_live_stream_with_one_second_commit_interval(
|
||||
|
||||
hass.bus.async_fire("mock_event", {"device_id": device.id, "message": "7"})
|
||||
|
||||
while not len(recieved_rows) == 7:
|
||||
while len(recieved_rows) != 7:
|
||||
msg = await asyncio.wait_for(websocket_client.receive_json(), 2.5)
|
||||
assert msg["id"] == 7
|
||||
assert msg["type"] == "event"
|
||||
|
||||
Reference in New Issue
Block a user