mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 09:55:21 +00:00
Tests. Let's start.
This commit is contained in:
parent
104d6d1731
commit
ee84d753c7
3 changed files with 62 additions and 0 deletions
25
tests/dataset.py
Normal file
25
tests/dataset.py
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
UPDATE = {
|
||||
"update_id": 128526,
|
||||
"message": {
|
||||
"message_id": 11223,
|
||||
"from": {
|
||||
"id": 12345678,
|
||||
"is_bot": False,
|
||||
"first_name": "FirstName",
|
||||
"last_name": "LastName",
|
||||
"username": "username",
|
||||
"language_code": "ru"
|
||||
},
|
||||
"chat": {
|
||||
"id": 12345678,
|
||||
"first_name": "FirstName",
|
||||
"last_name": "LastName",
|
||||
"username": "username",
|
||||
"type": "private"
|
||||
},
|
||||
"date": 1508709711,
|
||||
"text": "Hi, world!"
|
||||
}
|
||||
}
|
||||
|
||||
MESSAGE = UPDATE['message']
|
||||
Loading…
Add table
Add a link
Reference in a new issue