Update tests

This commit is contained in:
Alex Root Junior 2023-03-11 20:19:20 +02:00
parent 3bca050b8a
commit 0cb190e928
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
117 changed files with 230 additions and 1852 deletions

View file

@ -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()