Skip to content

Commit

Permalink
forgot to add mock robot to server
Browse files Browse the repository at this point in the history
  • Loading branch information
stuqdog committed Jan 28, 2025
1 parent dedf354 commit 2e6f012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ async def GetMachineStatus(self, stream: Stream[GetMachineStatusRequest, GetMach


async def main(*, host: str = "127.0.0.1", port: int = 9092) -> None:
server = Server([MockData(), MockDataSync(), MockApp()])
server = Server([MockData(), MockDataSync(), MockApp(), MockRobot()])
with graceful_exit([server]):
await server.start(host, port)
await server.wait_closed()
Expand Down

0 comments on commit 2e6f012

Please sign in to comment.