@tape.use_cassette('testfollowersids.json')
def testfollowersids(self):
- self.api.followers_ids(username)
+ self.api.followers_ids(screen_name=username)
@tape.use_cassette('testfriends.yaml', serializer='yaml')
def testfriends(self):
items = list(Cursor(self.api.friends_ids).items(2))
self.assertEqual(len(items), 2)
- items = list(Cursor(self.api.followers_ids, username).items(1))
+ items = list(Cursor(self.api.followers_ids, screen_name=username).items(1))
self.assertEqual(len(items), 1)
@tape.use_cassette('testcursorcursorpages.json')
pages = list(Cursor(self.api.friends_ids).pages(1))
self.assertTrue(len(pages) == 1)
- pages = list(Cursor(self.api.followers_ids, username).pages(1))
+ pages = list(Cursor(self.api.followers_ids, screen_name=username).pages(1))
self.assertTrue(len(pages) == 1)
@tape.use_cassette('testcursorsetstartcursor.json')