From 1e704be2a5e86f079c725dcf11b55ec4a184c555 Mon Sep 17 00:00:00 2001 From: Josh Roesslein Date: Wed, 14 Oct 2009 12:54:24 -0500 Subject: [PATCH] Some test changes. --- tests.py | 4 ++++ 1 file changed, 4 insertions(+) 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() -- 2.25.1