Add some tests for retweet methods.
authorJoshua Roesslein <jroesslein@gmail.com>
Tue, 8 Dec 2009 05:03:19 +0000 (23:03 -0600)
committerJoshua Roesslein <jroesslein@gmail.com>
Tue, 8 Dec 2009 05:03:19 +0000 (23:03 -0600)
tests.py

index 456de5e4a30dae42f9c31fc0eb2be42228dece8c..cdef1d891028cdc32ccbb5ff9c2e6131eafd9627 100644 (file)
--- 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)