29 lines
646 B
Python
29 lines
646 B
Python
import fastapi.testclient
|
|
|
|
import app.api.auth.routers
|
|
|
|
auth_client = fastapi.testclient.TestClient(app.api.auth.routers.auth_router)
|
|
|
|
telegram_init_data = {
|
|
'query_id': '1',
|
|
'user': {
|
|
'id': 0,
|
|
'first_name': 'string',
|
|
'last_name': '1',
|
|
'username': '1',
|
|
'language_code': '1',
|
|
'is_premium': False,
|
|
'added_to_attachment_menu': False,
|
|
'allows_write_to_pm': False,
|
|
'photo_url': '1',
|
|
},
|
|
'receiver': '1',
|
|
'chat': '1',
|
|
'chat_type': '1',
|
|
'chat_instance': '1',
|
|
'start_param': '1',
|
|
'can_send_after': '1',
|
|
'auth_date': 0,
|
|
'hash': 'string',
|
|
}
|