Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yunstanford committed Nov 26, 2017
1 parent f09c039 commit 049f120
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def open_local(paths, mode='r', encoding='utf8'):
uvloop,
ujson,
'aiofiles>=0.3.0',
'websockets>=3.2',
'websockets>=4.0',
]
if strtobool(os.environ.get("SANIC_NO_UJSON", "no")):
print("Installing without uJSON")
Expand Down
2 changes: 1 addition & 1 deletion tests/test_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,5 @@ def test_worker_close(worker):
loop.run_until_complete(_close)

assert worker.signal.stopped == True
conn.websocket.close_connection.assert_called_with(force=True)
conn.websocket.close_connection.assert_called_with(after_handshake=False)
assert len(worker.servers) == 0

0 comments on commit 049f120

Please sign in to comment.