def db2_get_recent_hot_topic(): topic_set = Topics_model.db_get_recent_hot_topics() if topic_set is not None: return topic_set else: return None
def test_get_recent_hot_topics(self): topic_check = Topics_model.db_get_recent_hot_topics() self.assertEqual([],topic_check)