mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-29 03:32:49 +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.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_name, '')
|
||||
self.assertEqual(document.mime_type, '')
|
||||
self.assertEqual(document.file_size, self.file_size)
|
||||
|
||||
def test_document_de_json(self):
|
||||
|
|
Loading…
Reference in a new issue