I’m having two variable that i want to put in my dbt test yml file
i want to include two list of countries values in the ‘accepted value’ test
I have tried this but does not work
code
models:
- name: my_table_that_i_want_to_test
columns:
- name: my_column
tests:
- accepted_values:
values: “{{ var(‘country_list1’) + var(‘country_list2’) }}”
thank you in advance!