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