diff options
Diffstat (limited to 'diplomacy/tests')
-rw-r--r-- | diplomacy/tests/network/test_real_game.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/diplomacy/tests/network/test_real_game.py b/diplomacy/tests/network/test_real_game.py index a16e4f6..94ecc19 100644 --- a/diplomacy/tests/network/test_real_game.py +++ b/diplomacy/tests/network/test_real_game.py @@ -254,7 +254,7 @@ def on_message_received(game, notification): raise AssertionError( '%s/there are still messages to send to %s (%d) before receiving messages from him. Received: %s' % (power_name, power_from, expected_message.time_sent, notification.message.message)) - elif expected_message.sender == power_from: + if expected_message.sender == power_from: if notification.message.is_global(): if not (expected_message.recipient == GLOBAL and expected_message.message == notification.message.message): |