def setUp(self): super(ChannelTests, self).setUp() clear_db() self.user = create_test_user(username='******', email='*****@*****.**') self.workflow = add_new_workflow('Workflow 1') self.wf_id = self.workflow.id self.module = add_new_module_version('Module') self.wf_module = add_new_wf_module(self.workflow, self.module) self.application = self.mock_auth_middleware(create_url_router())
def setUp(self): super().setUp() clear_db() self.user = create_test_user(username='******', email='*****@*****.**') self.workflow = Workflow.objects.create(name='Workflow 1', owner=self.user) self.wf_id = self.workflow.id self.module = add_new_module_version('Module') self.wf_module = add_new_wf_module(self.workflow, self.module) self.application = self.mock_auth_middleware(create_url_router()) self.communicators = []
def tearDown(self): clear_db()
def setUp(self): clear_db()