#296 Added test for getting bot's user_id

This commit is contained in:
Oleg A 2020-04-07 09:43:11 +03:00
parent 8cd781048a
commit cd75d3c468
2 changed files with 9 additions and 2 deletions

View file

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