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

@ -16,7 +16,9 @@ class TestSendPhoto:
result=Message(
message_id=42,
date=datetime.datetime.now(),
photo=[PhotoSize(file_id="file id", width=42, height=42)],
photo=[
PhotoSize(file_id="file id", width=42, height=42, file_unique_id="file id")
],
chat=Chat(id=42, type="private"),
),
)
@ -34,7 +36,9 @@ class TestSendPhoto:
result=Message(
message_id=42,
date=datetime.datetime.now(),
photo=[PhotoSize(file_id="file id", width=42, height=42)],
photo=[
PhotoSize(file_id="file id", width=42, height=42, file_unique_id="file id")
],
chat=Chat(id=42, type="private"),
),
)