From eef1238d6055e6f9f01a324db597c157f1ad83a2 Mon Sep 17 00:00:00 2001 From: Noam Meltzer Date: Fri, 28 Jul 2017 17:39:21 +0300 Subject: [PATCH] Comment out unitest test_send_contact_with_contact Caused too many "RetryAfter: Flood control exceeded" errors. [ci skip] --- tests/test_contact.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_contact.py b/tests/test_contact.py index 5440cd0a9..3245a4bc0 100644 --- a/tests/test_contact.py +++ b/tests/test_contact.py @@ -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)