Example #1
0
 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
Example #2
0
 def test_get_recent_hot_topics(self):
     topic_check = Topics_model.db_get_recent_hot_topics()
     self.assertEqual([],topic_check)