Пример #1
0
    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())
Пример #2
0
    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 = []
Пример #3
0
 def tearDown(self):
     clear_db()
Пример #4
0
 def setUp(self):
     clear_db()