mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Voice bug fix.
This commit is contained in:
@ -197,6 +197,4 @@ def test_not_string():
|
||||
i1 = 10
|
||||
assert not apihelper.is_string(i1)
|
||||
|
||||
|
||||
test_send_voice()
|
||||
test_send_audio()
|
||||
|
@ -112,3 +112,5 @@ def test_json_voice():
|
||||
voice = types.Voice.de_json(json_string)
|
||||
assert voice.duration == 0
|
||||
assert voice.file_size == 10481
|
||||
|
||||
test_json_voice()
|
||||
|
Reference in New Issue
Block a user