Beispiel #1
0
def get_list_of_names_test():
    twitter = Twitter('lpdojo', 'asdfasdf')
    followers = dojo.get_list_of_followers(twitter, 'lpdojo')
    follower_names = dojo.get_names_from_ids(twitter, followers)
    assert all(isinstance(name, basestring) for name in follower_names)
Beispiel #2
0
def get_list_of_followers():
    twitter = Twitter('lpdojo', 'asdfasdf')
    twitterer = 'lpdojo'
    friends = dojo.get_list_of_followers(twitter, twitterer)