Update test_shipping_query.py

This commit is contained in:
Gabben 2020-05-17 17:00:25 +05:00
parent c5e0742337
commit 56df3f0ba8

View file

@ -26,6 +26,7 @@ class TestInlineQuery:
api_method = shipping_query.answer(**kwargs) api_method = shipping_query.answer(**kwargs)
assert isinstance(api_method, AnswerShippingQuery) assert isinstance(api_method, AnswerShippingQuery)
assert api_method.shipping_query_id == shipping_query.id
for key, value in kwargs.items(): for key, value in kwargs.items():
assert getattr(api_method, key) == value assert getattr(api_method, key) == value