def METHOD_NAME():
    """Password has at least one upper case letter"""
    validator = PasswordValidator(policy_flags=PasswordPolicy.HAS_UPPER_CASE_CHAR)
    password = "Abc123"
    validator.validate(password)