def METHOD_NAME():
    """
    Test of the validate-input command with an invalid input file
    """
    from masci_tools.cmdline.commands.fleur_schema import validate_inpxmlfile
    from click.testing import CliRunner
    TEST_FILE = Path(__file__).parent.resolve() / Path('../files/fleur/aiida_fleur/nonvalid_inpxml/crab/inp.xml')
    runner = CliRunner()
    args = [os.fspath(TEST_FILE)]
    result = runner.invoke(validate_inpxmlfile, args)
    print(result.output)
    assert result.exception is None, f'An unexpected exception occurred: {result.exception}'
    assert 'Error: Input file does not validate against the schema:' in result.output