mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
#296 Added test for getting bot's user_id
This commit is contained in:
parent
8cd781048a
commit
cd75d3c468
2 changed files with 9 additions and 2 deletions
|
|
@ -2,7 +2,8 @@ import aresponses
|
|||
|
||||
from aiogram import Bot
|
||||
|
||||
TOKEN = '123456789:AABBCCDDEEFFaabbccddeeff-1234567890'
|
||||
BOT_ID = 123456789
|
||||
TOKEN = f'{BOT_ID}:AABBCCDDEEFFaabbccddeeff-1234567890'
|
||||
|
||||
|
||||
class FakeTelegram(aresponses.ResponsesMockServer):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue