예제 #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
예제 #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)
예제 #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
예제 #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)
예제 #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)
예제 #6
0
 def setUp(self):
     DjangoTestClientTestCase.setUp(self)
     self.tool = None
     cache.clear()
     self.login_fe(ADMIN_USER)
예제 #7
0
 def setUp(self):
     DjangoTestClientTestCase.setUp(self)
     self.tool = self.add_new_tool()
     cache.clear()
     self.login_fe(ADMIN_USER)
예제 #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)
예제 #9
0
 def setUp(self):
     DjangoTestClientTestCase.setUp(self)
     self.tool = None
     cache.clear()
     self.login_fe(ADMIN_USER)
예제 #10
0
 def setUp(self):
     DjangoTestClientTestCase.setUp(self)
     self.tool = self.add_new_tool()
     cache.clear()
     self.login_fe(ADMIN_USER)