Skip to content

Commit

Permalink
update test related to ping fix
Browse files Browse the repository at this point in the history
  • Loading branch information
engn33r committed Jun 17, 2023
1 parent 323baea commit ec4fb07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions websocket/tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,8 @@ def on_pong(app, msg):
app.run_forever(ping_interval=2, ping_timeout=1, reconnect=3)

self.assertEqual(pong_count, 2)
self.assertIsInstance(exc, ValueError)
self.assertEqual(str(exc), "Invalid file object: None")
self.assertIsInstance(exc, ws.WebSocketTimeoutException)
self.assertEqual(str(exc), "ping/pong timed out")


if __name__ == "__main__":
Expand Down

0 comments on commit ec4fb07

Please sign in to comment.