mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-29 15:49:02 +01:00
Comment out unitest test_send_contact_with_contact
Caused too many "RetryAfter: Flood control exceeded" errors. [ci skip]
This commit is contained in:
parent
2aae602082
commit
eef1238d60
1 changed files with 2 additions and 0 deletions
|
@ -53,12 +53,14 @@ class ContactTest(BaseTest, unittest.TestCase):
|
|||
self.assertEqual(contact.last_name, self.last_name)
|
||||
self.assertEqual(contact.user_id, self.user_id)
|
||||
|
||||
'''Commented out because it caused too many "RetryAfter: Flood control exceeded" errors.
|
||||
def test_send_contact_with_contact(self):
|
||||
con = telegram.Contact.de_json(self.json_dict, self._bot)
|
||||
message = self._bot.send_contact(contact=con, chat_id=self._chat_id)
|
||||
contact = message.contact
|
||||
|
||||
self.assertEqual(contact, con)
|
||||
'''
|
||||
|
||||
def test_contact_to_json(self):
|
||||
contact = telegram.Contact.de_json(self.json_dict, self._bot)
|
||||
|
|
Loading…
Reference in a new issue