Skip to content

Commit

Permalink
Place the seed node specifications under the seeds key (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbeatty10 authored May 12, 2022
1 parent 2dfdb3c commit 50f1d48
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions integration_tests/models/generic_tests/schema.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2

models:
seeds:
- name: data_test_not_constant
columns:
- name: field
Expand Down Expand Up @@ -31,27 +31,6 @@ models:
expression: = 0.5
condition: col_a = 0.5

- name: test_recency
tests:
- dbt_utils.recency:
datepart: day
field: today
interval: 1

- name: test_equal_rowcount
tests:
- dbt_utils.equal_rowcount:
compare_model: ref('test_equal_rowcount')

- name: test_equal_column_subset
tests:
- dbt_utils.equality:
compare_model: ref('data_people')
compare_columns:
- first_name
- last_name
- email

- name: data_people
columns:
- name: is_active
Expand Down Expand Up @@ -136,7 +115,6 @@ models:
- dbt_utils.cardinality_equality:
to: ref('data_cardinality_equality_b')
field: different_name


- name: data_test_accepted_range
columns:
Expand Down Expand Up @@ -168,3 +146,25 @@ models:
tests:
- dbt_utils.not_null_proportion:
at_least: 0.9

models:
- name: test_recency
tests:
- dbt_utils.recency:
datepart: day
field: today
interval: 1

- name: test_equal_rowcount
tests:
- dbt_utils.equal_rowcount:
compare_model: ref('test_equal_rowcount')

- name: test_equal_column_subset
tests:
- dbt_utils.equality:
compare_model: ref('data_people')
compare_columns:
- first_name
- last_name
- email

0 comments on commit 50f1d48

Please sign in to comment.