The problem I’m having
When running the basic tests for an adapter as shown in this guide, I’m not seeing variables being set in the created dbt_project.yml file.
The contents of the created project file for the basic test is
name: generic_tests
profile: test
In my models/schema.yml the variables target
and seed_name
are being used but, aren’t set in the project.
version: 2
sources:
- name: raw
schema: "{{ var('target','schema') }}"
tables:
- name: seed
identifier: "{{ var('seed_name', 'base') }}"
In this test, I don’t see these variables being overridden anywhere. How are these supposed to be set?
The context of why I’m trying to do this
Upgrading an adapter to support dbt-core v1.7