def set_up(self): from acceptance.cleanup import cleanup from foundations.global_state import redis_connection cleanup() self._redis = redis_connection self._redis.delete('foundations_testing_job_id')
def set_up(self): from uuid import uuid4 from foundations_events.producers.jobs import QueueJob from foundations_contrib.global_state import message_router, current_foundations_job from acceptance.cleanup import cleanup cleanup() foundations.set_project_name('default') self._job_id = str(uuid4()) current_foundations_job().job_id = self._job_id queue_job = QueueJob(message_router, current_foundations_job()) queue_job.push_message()
def set_up_class(klass): from acceptance.cleanup import cleanup cleanup()
def set_up(self): from acceptance.cleanup import cleanup cleanup()
def set_up(self): from acceptance.cleanup import cleanup cleanup() current_foundations_context().pipeline_context( ).file_name = self.faker.uuid4()