Exemplo n.º 1
0
 def test_staff_user_type(self):
     """Staff user type"""
     user = UserFactory.create(email='*****@*****.**')
     user.is_staff = True
     self.assert_user_type('STAFF', user)
Exemplo n.º 2
0
 def test_jobseeker(self):
     """User object exists but has no relevant privileges."""
     user = UserFactory.create(email='*****@*****.**')
     self.assert_user_type(None, user)
Exemplo n.º 3
0
 def test_jobseeker_user_type(self):
     """Jobseeker user type"""
     user = UserFactory.create(email='*****@*****.**')
     self.assert_user_type(None, user)
Exemplo n.º 4
0
 def test_jobseeker_user_type(self):
     """Jobseeker user type"""
     user = UserFactory.create()
     self.assert_user_type(None, user)
Exemplo n.º 5
0
 def test_staff_user_type(self):
     """Staff user type"""
     user = UserFactory.create()
     user.is_staff = True
     self.assert_user_type('STAFF', user)
Exemplo n.º 6
0
 def test_staff_user_type(self):
     """Staff user type"""
     user = UserFactory.create(email='*****@*****.**')
     user.is_staff = True
     self.assert_user_type('STAFF', user)
Exemplo n.º 7
0
 def test_jobseeker_user_type(self):
     """Jobseeker user type"""
     user = UserFactory.create(email='*****@*****.**')
     self.assert_user_type(None, user)
Exemplo n.º 8
0
 def test_staff(self):
     """User is staff."""
     user = UserFactory.create()
     user.is_staff = True
     self.assert_user_type('STAFF', user)
Exemplo n.º 9
0
 def test_jobseeker(self):
     """User object exists but has no relevant privileges."""
     user = UserFactory.create()
     self.assert_user_type(None, user)
Exemplo n.º 10
0
 def test_jobseeker(self):
     """User object exists but has no relevant privileges."""
     user = UserFactory.create(email='*****@*****.**')
     self.assert_user_type(None, user)