From f34c09dd7225b442db14c2b486941c8c24d74cf0 Mon Sep 17 00:00:00 2001 From: Jacob Bom Date: Wed, 14 Sep 2016 19:58:30 +0200 Subject: [PATCH] Fix image sizes in tests. --- tests/test_bot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_bot.py b/tests/test_bot.py index 1cf378814..5efb576ab 100644 --- a/tests/test_bot.py +++ b/tests/test_bot.py @@ -128,7 +128,7 @@ class BotTest(BaseTest, unittest.TestCase): photo='http://dummyimage.com/600x400/000/fff.jpg&text=telegram', chat_id=self._chat_id) self.assertTrue(self.is_json(message.to_json())) - self.assertEqual(message.photo[0].file_size, 822) + self.assertEqual(message.photo[0].file_size, 813) @flaky(3, 1) @timeout(10) @@ -137,7 +137,7 @@ class BotTest(BaseTest, unittest.TestCase): photo='http://dummyimage.com/600x400/000/fff.png&text=telegram', chat_id=self._chat_id) self.assertTrue(self.is_json(message.to_json())) - self.assertEqual(message.photo[0].file_size, 685) + self.assertEqual(message.photo[0].file_size, 670) @flaky(3, 1) @timeout(10) @@ -146,7 +146,7 @@ class BotTest(BaseTest, unittest.TestCase): photo='http://dummyimage.com/600x400/000/fff.gif&text=telegram', chat_id=self._chat_id) self.assertTrue(self.is_json(message.to_json())) - self.assertEqual(message.photo[0].file_size, 685) + self.assertEqual(message.photo[0].file_size, 670) @flaky(3, 1) @timeout(10)