def setUp(self): DjangoTestClientTestCase.setUp(self) # Preloaded by quickstart self.PRELOADED_BC = BackendCredential.objects.get(pk=2) self.setUpExtraBackendCredentials() self.login_fe(USER) self.maxDiff = None
def setUp(self): DjangoTestClientTestCase.setUp(self) self.user = User.objects.get(name=USER) self.workflow = mommy.make('Workflow', name='A test workflow', user=self.user) self.login_fe(ADMIN_USER)
def setUp(self): DjangoTestClientTestCase.setUp(self) self.user = User.objects.get(name=USER) other_user = DjangoUser.objects.create(username='******') other_user.set_password('otheruser') other_user.save() self.other_user = other_user.user self.workflow = mommy.make('Workflow', name='A test workflow', user=self.user) self.login_fe(ADMIN_USER)
def setUp(self): DjangoTestClientTestCase.setUp(self) self.tool = None cache.clear() self.login_fe(ADMIN_USER)
def setUp(self): DjangoTestClientTestCase.setUp(self) self.tool = self.add_new_tool() cache.clear() self.login_fe(ADMIN_USER)