diff --git a/tests/test_audio.py b/tests/test_audio.py index fa7be8b91..64e3f6a73 100644 --- a/tests/test_audio.py +++ b/tests/test_audio.py @@ -145,7 +145,6 @@ class AudioTest(BaseTest, unittest.TestCase): self.assertEqual(audio.performer, self.performer) self.assertEqual(audio.title, self.title) self.assertEqual(audio.mime_type, self.mime_type) - self.assertEqual(audio.file_size, self.file_size) def test_audio_de_json(self): """Test Audio.de_json() method""" diff --git a/tests/test_document.py b/tests/test_document.py index e606f568f..98711e768 100644 --- a/tests/test_document.py +++ b/tests/test_document.py @@ -112,7 +112,6 @@ class DocumentTest(BaseTest, unittest.TestCase): self.assertTrue(isinstance(document.thumb, telegram.PhotoSize)) self.assertEqual(document.file_name, self.file_name) self.assertEqual(document.mime_type, self.mime_type) - self.assertEqual(document.file_size, self.file_size) def test_document_de_json(self): """Test Document.de_json() method""" diff --git a/tests/test_video.py b/tests/test_video.py index 1c2b230ac..654457e95 100644 --- a/tests/test_video.py +++ b/tests/test_video.py @@ -153,7 +153,6 @@ class VideoTest(BaseTest, unittest.TestCase): self.assertEqual(video.duration, 0) self.assertEqual(video.thumb, None) self.assertEqual(video.mime_type, '') - self.assertEqual(video.file_size, self.file_size) self.assertEqual(message.caption, self.caption) diff --git a/tests/test_voice.py b/tests/test_voice.py index 9418f1185..d08d9c983 100644 --- a/tests/test_voice.py +++ b/tests/test_voice.py @@ -123,7 +123,6 @@ class VoiceTest(BaseTest, unittest.TestCase): self.assertEqual(voice.file_id, self.voice_file_id) self.assertEqual(voice.duration, self.duration) self.assertEqual(voice.mime_type, self.mime_type) - self.assertEqual(voice.file_size, self.file_size) def test_voice_de_json(self): """Test Voice.de_json() method"""