Beispiel #1
0
 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
Beispiel #2
0
 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)
Beispiel #3
0
 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
Beispiel #4
0
 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)
Beispiel #5
0
 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)
Beispiel #6
0
 def setUp(self):
     DjangoTestClientTestCase.setUp(self)
     self.tool = None
     cache.clear()
     self.login_fe(ADMIN_USER)
Beispiel #7
0
 def setUp(self):
     DjangoTestClientTestCase.setUp(self)
     self.tool = self.add_new_tool()
     cache.clear()
     self.login_fe(ADMIN_USER)
Beispiel #8
0
 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)
Beispiel #9
0
 def setUp(self):
     DjangoTestClientTestCase.setUp(self)
     self.tool = None
     cache.clear()
     self.login_fe(ADMIN_USER)
Beispiel #10
0
 def setUp(self):
     DjangoTestClientTestCase.setUp(self)
     self.tool = self.add_new_tool()
     cache.clear()
     self.login_fe(ADMIN_USER)