Commit d7a55864 authored by Joshua Roesslein's avatar Joshua Roesslein
Browse files

Add test for API.lookup_users.

parent ea72e0b8
......@@ -77,6 +77,12 @@ class TweepyAPITests(TweepyTestCase):
u = self.api.get_user(783214)
self.assertEqual(u.screen_name, 'twitter')
def testlookupusers(self):
def check(users):
self.assertEqual(len(users), 2)
check(self.api.lookup_users(user_ids=[6844292, 6253282]))
check(self.api.lookup_users(screen_names=['twitterapi', 'twitter']))
def testsearchusers(self):
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