def test_weibo_index(): """ test air_hourly interface :return: """ weibo_index_df = weibo_index(word="python", time_type="3month") assert len(weibo_index_df) >= 10
def test_weibo_index(): """ test weibo_index interface :return: weibo_index_df :rtype: pandas.DataFrame """ weibo_index_df = weibo_index(word="口罩", time_type="3month") assert weibo_index_df.shape[0] > 0