mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 02:03:04 +00:00
Reworked request builder (#1142)
* Reworked request builder * Added more default values * Update tests * Fixed timestamp * Fixed Py3.8 support * Describe changes
This commit is contained in:
parent
924a83966d
commit
fea1b7b0a3
300 changed files with 1003 additions and 3448 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