Skip to content

Commit db46c09

Browse files
committed
Fixed Test
1 parent 04f8433 commit db46c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_contact.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def test(_, url, data, **kwargs):
6060
first = data['first_name'] == contact.first_name
6161
last = data['last_name'] == contact.last_name
6262
vcard = data['vcard'] == contact.vcard
63-
return phone and first and last
63+
return phone and first and last and vcard
6464

6565
monkeypatch.setattr('telegram.utils.request.Request.post', test)
6666
message = bot.send_contact(contact=contact, chat_id=chat_id)

0 commit comments

Comments
 (0)