def METHOD_NAME(self, project):
    # initially runs ok
    results = run_dbt(["run"])
    assert len(results) == 1
    # Update the selectors.yml file to have a var
    write_config_file(var_selectors_yml, project.project_root, "selectors.yml")
    with pytest.raises(CompilationError):
        run_dbt(["run"])
    # Var in cli_vars works
    results = run_dbt(["run", "--vars", "snapshot_target: dev"])
    assert len(results) == 1