change "tests:" to "data_tests:"
This commit is contained in:
parent
db1edf7a1c
commit
c3c628aec4
29 changed files with 1565 additions and 1565 deletions
|
|
@ -13,14 +13,14 @@ seeds:
|
|||
- name: iso_4217_code
|
||||
data_type: character varying
|
||||
description: The 3 character ISO 4217 code for this currency, in Uppercase.
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_match_regex:
|
||||
regex: "^[A-Z]{3}$"
|
||||
- name: iso_4217_numeric_code
|
||||
data_type: character varying
|
||||
description: The 3 digit ISO 4217 numeric code for this currency.
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_match_regex:
|
||||
regex: "^[0-9]{3}$"
|
||||
|
|
@ -35,7 +35,7 @@ seeds:
|
|||
|
||||
To convert from normal unit (Dollar) to smallest unit (Cent), multiply by `10^decimal_positions`.
|
||||
To convert from smallest unit (Cent) to normal unit (Dollar), divide by `10^decimal_positions`.
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
|
|
@ -65,7 +65,7 @@ seeds:
|
|||
data_type: character varying
|
||||
description: The name of the country.
|
||||
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
- unique
|
||||
- name: alpha_2
|
||||
|
|
@ -73,7 +73,7 @@ seeds:
|
|||
description: |
|
||||
The two characters ISO 3166-1 Alpha-2 code for the country.
|
||||
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
- unique
|
||||
- dbt_expectations.expect_column_values_to_match_regex:
|
||||
|
|
@ -83,7 +83,7 @@ seeds:
|
|||
description: |
|
||||
The three characters ISO 3166-1 Alpha-3 code for the country.
|
||||
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
- unique
|
||||
- dbt_expectations.expect_column_values_to_match_regex:
|
||||
|
|
@ -93,7 +93,7 @@ seeds:
|
|||
description: |
|
||||
The three digit ISO 3166-1 Numeric code for the country.
|
||||
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
- unique
|
||||
- dbt_expectations.expect_column_values_to_match_regex:
|
||||
|
|
@ -105,7 +105,7 @@ seeds:
|
|||
of 0% does not necessarily mean that the country doesn't have VAT, but
|
||||
rather that we don't need to charge it to guests from that country.
|
||||
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue