mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-29 01:37:28 +01:00
comment out test_reply_contact
This commit is contained in:
parent
cbe057083f
commit
8e80a8d273
1 changed files with 3 additions and 1 deletions
|
@ -67,6 +67,8 @@ class ContactTest(BaseTest, unittest.TestCase):
|
||||||
self.assertEqual(contact['last_name'], self.last_name)
|
self.assertEqual(contact['last_name'], self.last_name)
|
||||||
self.assertEqual(contact['user_id'], self.user_id)
|
self.assertEqual(contact['user_id'], self.user_id)
|
||||||
|
|
||||||
|
|
||||||
|
''' Commented out, because it would cause "Too Many Requests (429)" errors.
|
||||||
@flaky(3, 1)
|
@flaky(3, 1)
|
||||||
def test_reply_contact(self):
|
def test_reply_contact(self):
|
||||||
"""Test for Message.reply_contact"""
|
"""Test for Message.reply_contact"""
|
||||||
|
@ -75,7 +77,7 @@ class ContactTest(BaseTest, unittest.TestCase):
|
||||||
|
|
||||||
self.assertEqual(message.contact.phone_number, self.phone_number)
|
self.assertEqual(message.contact.phone_number, self.phone_number)
|
||||||
self.assertEqual(message.contact.first_name, self.first_name)
|
self.assertEqual(message.contact.first_name, self.first_name)
|
||||||
|
'''
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
Loading…
Add table
Reference in a new issue