示例#1
0
    def test_validate_password_policy_with_invalid_password(self):

        user = User(user_name="badra123", password="******")
        self.assertFalse(user.validate_password_policy())
示例#2
0
    def test_validate_password_policy_with_valid_password(self):

        user = User(user_name="badra123", password="******")
        self.assertTrue(user.validate_password_policy())