Add more tests

This commit is contained in:
Michael Hansen
2024-02-18 17:27:59 -06:00
parent f0dcf39946
commit 70652bbea2
8 changed files with 257 additions and 8 deletions
+2 -2
View File
@@ -101,8 +101,8 @@ async def test_multiple_wakeups(tmp_path: Path) -> None:
await satellite.event_from_server(Transcript("test").event())
# Should not trigger again within refractory period (default: 5 sec)
# with pytest.raises(asyncio.TimeoutError):
# await asyncio.wait_for(event_client.wake_event.wait(), timeout=0.15)
with pytest.raises(asyncio.TimeoutError):
await asyncio.wait_for(event_client.wake_event.wait(), timeout=0.15)
await satellite.stop()
await satellite_task