def test_get_user_None(self): self.assertEqual(rules.get_user('hhhh'), None)
def test_get_user(self): user = rules.get_user(self.username) self.assertTrue(isinstance(user, User))