We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04f8433 commit db46c09Copy full SHA for db46c09
tests/test_contact.py
@@ -60,7 +60,7 @@ def test(_, url, data, **kwargs):
60
first = data['first_name'] == contact.first_name
61
last = data['last_name'] == contact.last_name
62
vcard = data['vcard'] == contact.vcard
63
- return phone and first and last
+ return phone and first and last and vcard
64
65
monkeypatch.setattr('telegram.utils.request.Request.post', test)
66
message = bot.send_contact(contact=contact, chat_id=chat_id)
0 commit comments