Exemple #1
0
def test_user(user_url):
    Logging.info(u"test_user:")
    user = User(user_url)
    print user.url
    for follower in user.get_followers():
        print follower.url

    answer_num = user.get_answer_num()
    print answer_num
    ask_num = user.get_ask_num()
    print ask_num
    followee_num = user.get_followee_num()
    article_num = user.get_articles_num()
    print article_num
    print followee_num
Exemple #2
0
def test_user(user_url):
    user = User(user_url)
    followers = user.get_followers()
    print followers