mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 23:27:49 +01:00
Fix travis - file_size is irrelevant for resend test
This commit is contained in:
parent
70445dc054
commit
2a7b03e7c2
1 changed files with 0 additions and 2 deletions
|
@ -138,13 +138,11 @@ class PhotoTest(BaseTest, unittest.TestCase):
|
|||
self.assertTrue(isinstance(thumb, telegram.PhotoSize))
|
||||
self.assertEqual(thumb.width, self.thumb['width'])
|
||||
self.assertEqual(thumb.height, self.thumb['height'])
|
||||
self.assertEqual(thumb.file_size, self.thumb['file_size'])
|
||||
|
||||
self.assertEqual(photo.file_id, self.photo_file_id)
|
||||
self.assertTrue(isinstance(photo, telegram.PhotoSize))
|
||||
self.assertEqual(photo.width, self.width)
|
||||
self.assertEqual(photo.height, self.height)
|
||||
self.assertEqual(photo.file_size, self.file_size)
|
||||
|
||||
def test_photo_de_json(self):
|
||||
"""Test Photo.de_json() method"""
|
||||
|
|
Loading…
Reference in a new issue