From: Josh Roesslein Date: Wed, 14 Oct 2009 17:54:24 +0000 (-0500) Subject: Some test changes. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1e704be2a5e86f079c725dcf11b55ec4a184c555;p=tweepy.git Some test changes. --- diff --git a/tests.py b/tests.py index 14a6280..1b1f080 100644 --- a/tests.py +++ b/tests.py @@ -21,6 +21,8 @@ class TweepyAPITests(unittest.TestCase): def setUp(self): self.api = API(BasicAuthHandler(username, password)) + self.api.retry_count = 2 + self.api.retry_delay = 5 def testpublictimeline(self): self.api.public_timeline() @@ -159,6 +161,7 @@ class TweepyAPITests(unittest.TestCase): ) for k,v in profile.items(): + if k == 'email': continue self.assertEqual(getattr(updated, k), v) def testfavorites(self): @@ -177,6 +180,7 @@ class TweepyAPITests(unittest.TestCase): self.assertEqual(self.api.exists_block('twitter'), True) self.api.destroy_block('twitter') self.assertEqual(self.api.exists_block('twitter'), False) + self.api.create_friendship('twitter') # restore def testblocks(self): self.api.blocks()