Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/channels/test_telegram.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ async def spy(method, **kwargs):
assert "[Current time:" in content
assert content.endswith("what's the weather in Pune")
assert tg.api.screen()[-1] == "It's sunny."
await until(lambda: any(method == "sendVoice" for method, _ in sent))
voices = [kwargs for method, kwargs in sent if method == "sendVoice"]
assert len(voices) == 1
name, data, mime = voices[0]["files"]["voice"]
Expand Down
Loading