Fix tests

This commit is contained in:
Leandro Toledo 2015-09-20 12:47:02 -03:00
parent a1f35355f6
commit 1919f873c0
4 changed files with 0 additions and 4 deletions

View file

@ -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"""

View file

@ -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"""

View file

@ -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)

View file

@ -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"""