mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Update tests
This commit is contained in:
parent
3bca050b8a
commit
0cb190e928
117 changed files with 230 additions and 1852 deletions
|
|
@ -102,7 +102,8 @@ class TestSimpleRequestHandler:
|
|||
result[part.name] = value.decode()
|
||||
assert result["method"] == "sendDocument"
|
||||
assert result["caption"] == "PASS"
|
||||
assert result["document"] == "test"
|
||||
assert result["document"].startswith("attach://")
|
||||
assert result[result["document"][9:]]
|
||||
|
||||
async def test_reply_into_webhook_text(self, bot: MockedBot, aiohttp_client):
|
||||
app = Application()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue