1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Fix test case error.

This commit is contained in:
eternnoir 2015-08-19 18:13:40 +08:00
parent c3300af656
commit 571a0fb320

View File

@ -110,5 +110,5 @@ def test_json_contact():
def test_json_voice():
json_string = r'{"duration": 0,"mime_type": "audio/ogg","file_id": "AwcccccccDH1JaB7w_gyFjYQxVAg","file_size": 10481}'
voice = types.Voice.de_json(json_string)
assert voice.duration == 0;
assert voice.duration == 0
assert voice.file_size == 10481