def test_generic_test_config_custom_macros(
        self,
        project,
    ):
        """This test has a reference to a custom macro its configs"""
        with pytest.raises(CompilationError) as exc:
            run_dbt()
        assert "Invalid generic test configuration" in str(exc)
This test has a reference to a custom macro its configs
tests/functional/schema_tests/test_schema_v2_tests.py