mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-25 16:46:35 +01:00
Update Document tests class
This commit is contained in:
parent
1b0c3731de
commit
f29a6f0e36
1 changed files with 2 additions and 2 deletions
|
@ -93,8 +93,8 @@ class DocumentTest(BaseTest, unittest.TestCase):
|
||||||
|
|
||||||
self.assertEqual(document.file_id, self.document_file_id)
|
self.assertEqual(document.file_id, self.document_file_id)
|
||||||
self.assertTrue(isinstance(document.thumb, telegram.PhotoSize))
|
self.assertTrue(isinstance(document.thumb, telegram.PhotoSize))
|
||||||
self.assertEqual(document.file_name, self.file_name)
|
self.assertEqual(document.file_name, '')
|
||||||
self.assertEqual(document.mime_type, self.mime_type)
|
self.assertEqual(document.mime_type, '')
|
||||||
self.assertEqual(document.file_size, self.file_size)
|
self.assertEqual(document.file_size, self.file_size)
|
||||||
|
|
||||||
def test_document_de_json(self):
|
def test_document_de_json(self):
|
||||||
|
|
Loading…
Reference in a new issue