diff --git a/tests/test_bot.py b/tests/test_bot.py index ad56d3ee1..b9800ef3e 100644 --- a/tests/test_bot.py +++ b/tests/test_bot.py @@ -188,14 +188,14 @@ class TestBot(object): chat_id = 12173560 # hardcoded Leandro's chat_id user_profile_photos = bot.get_user_profile_photos(chat_id) - assert user_profile_photos.photos[0][0].file_size == 12421 + assert user_profile_photos.photos[0][0].file_size == 9999 @flaky(3, 1) @pytest.mark.timeout(10) def test_get_one_user_profile_photo(self, bot): chat_id = 12173560 # hardcoded Leandro's chat_id user_profile_photos = bot.get_user_profile_photos(chat_id, offset=0, limit=1) - assert user_profile_photos.photos[0][0].file_size == 12421 + assert user_profile_photos.photos[0][0].file_size == 9999 # get_file is tested multiple times in the test_*media* modules.