def test_circular_relationship_test_success(self, project):
        """Ensure that tests that refer to each other's model don't create
        a circular dependency."""
        results = run_dbt(["build"])
        actual = [str(r.status) for r in results]
        expected = ["success"] * 7 + ["pass"] * 2

        assert sorted(actual) == sorted(expected)
Ensure that tests that refer to each other's model don't create
        a circular dependency.
tests/functional/build_command/test_build.py