Beispiel #1
0
 def tearDown(self):
     config.ML_ENABLED = self.ML_value
     super(DiscoverTestCase, self).tearDown()
     Recommendation.query.delete()
     episodes_dao.clear_all_recommendations_counts()
     Subscription.query.delete()
     series_dao.clear_all_subscriber_counts()
     db_session_commit()
 def tearDown(self):
   config.ML_ENABLED = self.ML_value
   super(DiscoverTestCase, self).tearDown()
   Recommendation.query.delete()
   episodes_dao.clear_all_recommendations_counts()
   Subscription.query.delete()
   series_dao.clear_all_subscriber_counts()
   db_session_commit()
 def setUp(self):
   self.ML_value = config.ML_ENABLED
   super(DiscoverTestCase, self).setUp()
   Recommendation.query.delete()
   episodes_dao.clear_all_recommendations_counts()
   Subscription.query.delete()
   series_dao.clear_all_subscriber_counts()
   SeriesForTopic.query.delete()
   db_session_commit()
Beispiel #4
0
 def setUp(self):
     self.ML_value = config.ML_ENABLED
     super(DiscoverTestCase, self).setUp()
     Recommendation.query.delete()
     episodes_dao.clear_all_recommendations_counts()
     Subscription.query.delete()
     series_dao.clear_all_subscriber_counts()
     SeriesForTopic.query.delete()
     db_session_commit()
Beispiel #5
0
 def setUp(self):
     super(FeedTestCase, self).setUp()
     Subscription.query.delete()
     series_dao.clear_all_subscriber_counts()
     Following.query.delete()
     Recommendation.query.delete()
     episodes_dao.clear_all_recommendations_counts()
     Bookmark.query.delete()
     Share.query.delete()
     db_session_commit()
Beispiel #6
0
 def setUp(self):
   super(FeedTestCase, self).setUp()
   Subscription.query.delete()
   series_dao.clear_all_subscriber_counts()
   Following.query.delete()
   Recommendation.query.delete()
   episodes_dao.clear_all_recommendations_counts()
   Bookmark.query.delete()
   Share.query.delete()
   db_session_commit()
Beispiel #7
0
 def setUp(self):
   super(SeriesTestCase, self).setUp()
   Subscription.query.delete()
   series_dao.clear_all_subscriber_counts()
   db_session_commit()
Beispiel #8
0
 def tearDown(self):
     super(SubscriptionsTestCase, self).tearDown()
     Subscription.query.delete()
     series_dao.clear_all_subscriber_counts()
     db_session_commit()
 def tearDown(self):
   super(SubscriptionsTestCase, self).tearDown()
   Subscription.query.delete()
   series_dao.clear_all_subscriber_counts()
   db_session_commit()