Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheeo committed Jun 27, 2016
1 parent d5af766 commit d599936
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/integration_tests/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ def test_server_valid_login(loop, lobby_server):
yield from perform_login(proto, ('Dostya', 'vodka'))
msg = yield from proto.read_message()
assert msg == {'command': 'welcome',
'me': {'country': '',
'global_rating': [1500.0, 75.0],
'id': 2,
'ladder_rating': [1500.0, 75.0],
'login': 'Dostya',
'number_of_games': 2},
'id': 2,
'login': 'Dostya'}
lobby_server.close()
Expand Down

0 comments on commit d599936

Please sign in to comment.