* add py37 to travisci

* use dist:xenial for py37

* sudo: true in .travici

* bump websockets version for py37 support and fix unit tests
This commit is contained in:
7
2018-07-03 22:07:08 -07:00
committed by Raphael Deem
parent 9092ee9f0e
commit f9b29fd7e7
7 changed files with 16 additions and 8 deletions

View File

@@ -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(after_handshake=False)
assert conn.websocket.close_connection.called == True
assert len(worker.servers) == 0