From f600f2fa54f2ca7af389a99651c0b3456df995fe Mon Sep 17 00:00:00 2001 From: Joshua Roesslein Date: Mon, 7 Dec 2009 23:03:19 -0600 Subject: [PATCH] Add some tests for retweet methods. --- tests.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/tests.py b/tests.py index 456de5e..cdef1d8 100644 --- a/tests.py +++ b/tests.py @@ -27,6 +27,9 @@ class TweepyAPITests(unittest.TestCase): def testpublictimeline(self): self.api.public_timeline() + def testhometimeline(self): + self.api.home_timeline() + def testfriendstimeline(self): self.api.friends_timeline() @@ -37,6 +40,22 @@ class TweepyAPITests(unittest.TestCase): def testmentions(self): self.api.mentions() + def testretweetedbyme(self): + self.api.retweeted_by_me() + + def testretweetedtome(self): + self.api.retweeted_to_me() + + def testretweetsofme(self): + self.api.retweets_of_me() + + def testretweet(self): + s = self.api.retweet(123) + s.destroy() + + def testretweets(self): + self.api.retweets(123) + def testgetstatus(self): s = self.api.get_status(id=123) -- 2.25.1