Update tests

This commit is contained in:
Alex Root Junior 2020-01-11 19:56:38 +02:00
parent ffb0cdf88f
commit d2d4f337fb
16 changed files with 170 additions and 40 deletions

View file

@ -9,7 +9,7 @@ class TestUploadStickerFile:
@pytest.mark.asyncio
async def test_method(self, bot: MockedBot):
prepare_result = bot.add_result_for(
UploadStickerFile, ok=True, result=File(file_id="file id")
UploadStickerFile, ok=True, result=File(file_id="file id", file_unique_id="file id")
)
response: File = await UploadStickerFile(
@ -22,7 +22,7 @@ class TestUploadStickerFile:
@pytest.mark.asyncio
async def test_bot_method(self, bot: MockedBot):
prepare_result = bot.add_result_for(
UploadStickerFile, ok=True, result=File(file_id="file id")
UploadStickerFile, ok=True, result=File(file_id="file id", file_unique_id="file id")
)
response: File = await bot.upload_sticker_file(