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']
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 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
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
def setUpClass(cls): DbTestCase.setUpClass() super(RetryPolicyTestCase, cls).setUpClass()
def setUpClass(cls): DbTestCase.setUpClass() super(SchedulerPoliciesTest, cls).setUpClass()
def setUpClass(cls): DbTestCase.setUpClass() super(NotifierPoliciesTest, 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']