def test_fortune(): """ test air_hourly interface :return: """ fortune_df = fortune_rank(year=2011) # 2010 不一样 assert len(fortune_df) >= 10
def test_fortune(): """ test fortune_rank interface :return: fortune_rank_df :rtype: pandas.DataFrame """ fortune_rank_df = fortune_rank(year=2011) # 2010 不一样 assert fortune_rank_df.shape[0] > 0