mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-26 17:17:17 +01:00
Merge branch 'master' into bitwise-filters
This commit is contained in:
commit
921fbae2f3
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue