Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gornostal committed Sep 22, 2018
1 parent 3baf823 commit 23d5014
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/api/client/test_Client.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ def client(self, extension):
def test_connect__WebSocketApp__is_called(self, client, websocket):
client.connect()
websocket.WebSocketApp.assert_called_with('ws://localhost:5000/test_extension',
on_message=client.on_message,
on_error=client.on_error,
on_open=client.on_open,
on_close=client.on_close)
on_message=mock.ANY,
on_error=mock.ANY,
on_open=mock.ANY,
on_close=mock.ANY)

def test_connect__run_forever__is_called(self, client, websocket):
client.connect()
Expand Down

0 comments on commit 23d5014

Please sign in to comment.