Commit 1252d1d8 authored by Thomas Whitton's avatar Thomas Whitton
Browse files

suggested user tests now work with what ever user you supply, by first getting...

suggested user tests now work with what ever user you supply, by first getting a category to search for
parent 0bd6d578
......@@ -95,14 +95,18 @@ class TweepyAPITests(unittest.TestCase):
def testsearchusers(self):
self.api.search_users('twitter')
def testsuggestedusers(self):
self.api.suggested_users('twitter')
def testsuggestedcategories(self):
self.api.suggested_categories()
def testsuggestedhuserstweets(self):
self.api.suggested_users_tweets('twitter')
def testsuggestedusers(self):
categories = self.api.suggested_categories()
if len(categories) != 0:
self.api.suggested_users(categories[0].slug)
def testsuggesteduserstweets(self):
categories = self.api.suggested_categories()
if len(categories) != 0:
self.api.suggested_users_tweets(categories[0].slug)
def testme(self):
me = self.api.me()
......
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