Skip to content

Commit 9be22f0

Browse files
author
Joel Collins
committed
Updated test_socket_handler expected responses
1 parent 46633ff commit 9be22f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_server_labthing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,4 +247,5 @@ def test_version(thing):
247247
def test_socket_handler(thing, fake_websocket):
248248
ws = fake_websocket("", recieve_once=True)
249249
thing._socket_handler(ws)
250-
assert ws.response is None
250+
# Expect no response
251+
assert ws.responses == []

0 commit comments

Comments
 (0)