Commit 357d8c2f authored by Joshua Roesslein's avatar Joshua Roesslein
Browse files

Tweak create/destroy friendship test.

Added a bit of sleep time between destroy and create
requests to allow Twitter time to process.

[ci skip]
parent a0b3d7bd
Tweepy [![Build Status](](
A Python library for accessing the Twitter API.
*Twitter for Python!*
......@@ -115,6 +115,10 @@ class TweepyAPITests(unittest.TestCase):
enemy = self.api.destroy_friendship('twitter')
self.assertEqual(enemy.screen_name, 'twitter')
# Wait 5 seconds to allow Twitter time
# to process the friendship destroy request.
friend = self.api.create_friendship('twitter')
self.assertEqual(friend.screen_name, 'twitter')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment