mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 15:17:00 +01:00
Merge branch 'master' of github.com:leandrotoledo/python-telegram-bot into boteventhandler
This commit is contained in:
commit
1b79a57673
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ class BotTest(BaseTest, unittest.TestCase):
|
||||||
upf = self._bot.getUserProfilePhotos(user_id=self._chat_id)
|
upf = self._bot.getUserProfilePhotos(user_id=self._chat_id)
|
||||||
|
|
||||||
self.assertTrue(self.is_json(upf.to_json()))
|
self.assertTrue(self.is_json(upf.to_json()))
|
||||||
self.assertEqual(upf.photos[0][0].file_size, 6547)
|
self.assertEqual(upf.photos[0][0].file_size, 12421)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
Loading…
Reference in a new issue