Example #1
0
 def test_twitter_get_friends_for(self):
     platform = self.platforms.twitter
     user_info = platform.extract_user_info(user_info_examples.twitter(),
                                            '')
     account = AccountElsewhere.upsert(user_info)
     friends, nfriends, pages_urls = platform.get_friends_for(account)
     assert nfriends > 0
 def test_twitter_get_friends_for(self):
     platform = self.platforms.twitter
     user_info = platform.extract_user_info(user_info_examples.twitter(), '')
     account = AccountElsewhere.upsert(user_info)
     friends, nfriends, pages_urls = platform.get_friends_for(account)
     assert friends
     assert nfriends > 0