Skip to content

Commit

Permalink
Update tests to correspond with flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
artemiy-rodionov committed Jan 2, 2016
1 parent 3f8eccc commit d1969d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_async_eventlet.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ def setUp(self):
@mock.patch('engineio.async_eventlet._WebSocketWSGI.__call__',
return_value='data')
def test_wsgi_call(self, _WebSocketWSGI):
_WebSocketWSGI.__call__ = lambda e,s: 'data'
_WebSocketWSGI.__call__ = lambda e, s: 'data'
environ = {"eventlet.input": None}
start_response = "bar"
wsgi = async_eventlet.WebSocketWSGI(None)
self.assertEqual(wsgi(environ, start_response), 'data')

0 comments on commit d1969d6

Please sign in to comment.