def test_graph_summary_output(self, project):
        """Ensure that the compile command generates a file named graph_summary.json
        in the target directory, that the file contains valid json, and that the
        json has the high level structure it should."""
        dbtTestRunner().invoke(["compile"])
        summary_path = pathlib.Path(project.project_root, "target/graph_summary.json")
        with open(summary_path, "r") as summary_file:
            summary = json.load(summary_file)
            assert "_invocation_id" in summary
            assert "linked" in summary
Ensure that the compile command generates a file named graph_summary.json
        in the target directory, that the file contains valid json, and that the
        json has the high level structure it should.
tests/functional/compile/test_compile.py