diff --git a/tests/data/telegram.jpg b/tests/data/telegram.jpg index 5fd11c8cd..0e42a2990 100644 Binary files a/tests/data/telegram.jpg and b/tests/data/telegram.jpg differ diff --git a/tests/test_photo.py b/tests/test_photo.py index eb73b44b0..4b6b4e44b 100644 --- a/tests/test_photo.py +++ b/tests/test_photo.py @@ -49,11 +49,11 @@ def photo(_photo): class TestPhoto(object): - width = 300 - height = 300 + width = 800 + height = 800 caption = u'PhotoTest - *Caption*' - photo_file_url = 'https://python-telegram-bot.org/static/testfiles/telegram.jpg' - file_size = 10209 + photo_file_url = 'https://python-telegram-bot.org/static/testfiles/telegram_new.jpg' + file_size = 29176 def test_creation(self, thumb, photo): # Make sure file has been uploaded. @@ -69,9 +69,9 @@ class TestPhoto(object): assert photo.width == self.width assert photo.height == self.height assert photo.file_size == self.file_size - assert thumb.width == 90 - assert thumb.height == 90 - assert thumb.file_size == 1478 + assert thumb.width == 320 + assert thumb.height == 320 + assert thumb.file_size == 9331 @flaky(3, 1) @pytest.mark.timeout(10)