Skip to content

Commit

Permalink
modify test for the bi-directional event service
Browse files Browse the repository at this point in the history
  • Loading branch information
llluis committed Jan 23, 2024
1 parent 29bbd91 commit 254451d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_wake_streaming.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ def __init__(self) -> None:
self.wake_event = asyncio.Event()

async def read_event(self) -> Optional[Event]:
# Input only
return None
# Sends a detection event
return Detection().event()

async def write_event(self, event: Event) -> None:
if Detection.is_type(event.type):
Expand Down

0 comments on commit 254451d

Please sign in to comment.