def setUpClass(cls):
     super(ActionStateConsumerTests, cls).setUpClass()
     DbTestCase.setUpClass()
     ActionStateConsumerTests.models = loader.save_fixtures_to_db(
         fixtures_pack=FIXTURES_PACK, fixtures_dict=FIXTURES)
     ActionStateConsumerTests.liveactions = ActionStateConsumerTests.models[
         'liveactions']
Example #2
0
 def setUpClass(cls):
     super(ResultsTrackerTests, cls).setUpClass()
     DbTestCase.setUpClass()
     ResultsTrackerTests.models = loader.save_fixtures_to_db(fixtures_pack=FIXTURES_PACK,
                                                             fixtures_dict=FIXTURES)
     ResultsTrackerTests.states = ResultsTrackerTests.models['actionstates']
     ResultsTrackerTests.liveactions = ResultsTrackerTests.models['liveactions']
     ResultsTrackerTests._update_state_models()
 def setUpClass(cls):
     super(ResultsTrackerTests, cls).setUpClass()
     DbTestCase.setUpClass()
     ResultsTrackerTests.models = loader.save_fixtures_to_db(fixtures_pack=FIXTURES_PACK,
                                                             fixtures_dict=FIXTURES)
     ResultsTrackerTests.states = ResultsTrackerTests.models['actionstates']
     ResultsTrackerTests.liveactions = ResultsTrackerTests.models['liveactions']
     ResultsTrackerTests._update_state_models()
Example #4
0
 def setUp(self):
     super(ResultsTrackerTests, self).setUp()
     DbTestCase.setUpClass()
     ResultsTrackerTests.models = FIXTURES_LOADER.save_fixtures_to_db(
         fixtures_pack=FIXTURES_PACK, fixtures_dict=FIXTURES)
     ResultsTrackerTests.states = ResultsTrackerTests.models['actionstates']
     ResultsTrackerTests.liveactions = ResultsTrackerTests.models['liveactions']
     ResultsTrackerTests._update_state_models()
     tracker = results_tracker.get_tracker()
     querier = tracker.get_querier('test_querymodule')
     querier.delete_state_object_on_error = True
Example #5
0
 def setUp(self):
     super(ResultsTrackerTests, self).setUp()
     DbTestCase.setUpClass()
     ResultsTrackerTests.models = FIXTURES_LOADER.save_fixtures_to_db(
         fixtures_pack=FIXTURES_PACK, fixtures_dict=FIXTURES)
     ResultsTrackerTests.states = ResultsTrackerTests.models['actionstates']
     ResultsTrackerTests.liveactions = ResultsTrackerTests.models[
         'liveactions']
     ResultsTrackerTests._update_state_models()
     tracker = results_tracker.get_tracker()
     querier = tracker.get_querier('test_querymodule')
     querier.delete_state_object_on_error = True
Example #6
0
 def setUpClass(cls):
     DbTestCase.setUpClass()
     super(RetryPolicyTestCase, cls).setUpClass()
Example #7
0
 def setUpClass(cls):
     DbTestCase.setUpClass()
     super(SchedulerPoliciesTest, cls).setUpClass()
Example #8
0
 def setUpClass(cls):
     DbTestCase.setUpClass()
     super(NotifierPoliciesTest, cls).setUpClass()
Example #9
0
 def setUpClass(cls):
     DbTestCase.setUpClass()
     super(SchedulerPoliciesTest, cls).setUpClass()
Example #10
0
 def setUpClass(cls):
     DbTestCase.setUpClass()
     super(NotifierPoliciesTest, cls).setUpClass()
Example #11
0
 def setUpClass(cls):
     DbTestCase.setUpClass()
     super(RetryPolicyTestCase, cls).setUpClass()
 def setUpClass(cls):
     super(ActionStateConsumerTests, cls).setUpClass()
     DbTestCase.setUpClass()
     ActionStateConsumerTests.models = loader.save_fixtures_to_db(fixtures_pack=FIXTURES_PACK,
                                                                  fixtures_dict=FIXTURES)
     ActionStateConsumerTests.liveactions = ActionStateConsumerTests.models['liveactions']