Skip to content

Commit

Permalink
Add version to mock server
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 committed Jan 31, 2021
1 parent dfa885c commit de937cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration_tests/test_servercontext.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
def mock_server(event_loop):
class MockServer:
def __init__(self):
self.protocol, self.peername, self.user_agent = None, None, None
self.protocol, self.peername, self.user_agent, self.version = None, None, None, None
self.on_connection_lost = CoroutineMock()

async def on_connection_made(self, protocol, peername):
Expand Down

0 comments on commit de937cf

Please sign in to comment.