Exemplo n.º 1
0
 def test_has_profile_for_user_with_profile(self):
     """
     If profile exists for user passed as argument return True
     """
     has_profile_status = has_profile(self.user2)
     self.assertTrue(has_profile_status)
Exemplo n.º 2
0
 def test_has_profile_for_user_with_profile(self):
     """
     If profile exists for user passed as argument return True
     """
     has_profile_status = has_profile(self.user2)
     self.assertTrue(has_profile_status)
Exemplo n.º 3
0
 def test_has_profile_for_user_without_profile(self):
     """
     If no profile exists for user passed as argument return False
     """
     has_profile_status = has_profile(self.user1)
     self.assertFalse(has_profile_status)
Exemplo n.º 4
0
 def test_has_profile_for_user_without_profile(self):
     """
     If no profile exists for user passed as argument return False
     """
     has_profile_status = has_profile(self.user1)
     self.assertFalse(has_profile_status)