def METHOD_NAME(self, project):
    update_project = {"invalid-key": "not a valid key so this is bad project"}
    with open("dbt_project.yml", "w") as f:
        yaml.safe_dump(update_project, f)
    run_dbt(["debug", "--profile", "test"], expect_pass=False)
    splitout = self.capsys.readouterr().out.split("\n")
    self.check_project(splitout)