Fix test_set_game_score3 - telegram changed something in their responses

This commit is contained in:
Noam Meltzer 2017-01-07 23:37:23 +02:00
parent 1bb5dd224b
commit 4c7cc3a05b

View file

@ -365,7 +365,7 @@ class BotTest(BaseTest, unittest.TestCase):
chat_id=game.chat_id,
message_id=game.message_id)
self.assertTrue('BOT_SCORE_NOT_MODIFIED' in cm.exception.message)
self.assertTrue('BOT_SCORE_NOT_MODIFIED' in str(cm.exception.message).upper())
@flaky(3, 1)
@timeout(10)