def METHOD_NAME():
    runner = CliRunner()
    result = runner.invoke(
        rewrite_keys,
        args=["directory-does-no-exist"],
        catch_exceptions=False,
    )
    assert result.exit_code != 0