1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Resolve merge conflicts.

This commit is contained in:
pieter
2015-07-02 13:54:45 +02:00
4 changed files with 26 additions and 2 deletions

View File

@ -88,3 +88,10 @@ def test_json_UserProfilePhotos():
upp = types.UserProfilePhotos.de_json(json_string)
assert upp.photos[0][0].width == 160
assert upp.photos[0][-1].height == 800
def test_json_contact():
json_string = r'{"phone_number":"00011111111","first_name":"dd","last_name":"ddl","user_id":8633}'
contact = types.Contact.de_json(json_string)
assert contact.first_name == 'dd'
assert contact.last_name == 'ddl'