Ejemplo n.º 1
0
    def setUp(self):
        super().setUp()

        self.user = User.objects.create(username="******", email="*****@*****.**")
        self.workflow = Workflow.create_and_init(name="Workflow 1", owner=self.user)
        self.application = self.mock_auth_middleware(create_url_router())

        self.communicators = []
Ejemplo n.º 2
0
    def setUp(self):
        super(ChannelTests, self).setUp()

        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())
Ejemplo n.º 3
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 = []