From 0f9382212a964641c48464ee9f323d89f7896e60 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Mon, 5 Mar 2018 06:42:03 +0200 Subject: [PATCH] Minor neats --- .gitignore | 1 + tests/test_transport_websocket.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f854664..42921ba 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ docs/_build/ nosetests.xml pyrami_sockjs/coverage.xml .cache +.pytest_cache \ No newline at end of file diff --git a/tests/test_transport_websocket.py b/tests/test_transport_websocket.py index 9db1e27..455d424 100644 --- a/tests/test_transport_websocket.py +++ b/tests/test_transport_websocket.py @@ -28,7 +28,6 @@ async def test_process_release_acquire_and_remote_closed(make_transport): transp.session.interrupted = False transp.manager.acquire = make_mocked_coro() transp.manager.release = make_mocked_coro() - transp.request._transport = mock.Mock() resp = await transp.process() assert resp.status == 101 assert resp.headers.get('upgrade', '').lower() == 'websocket'