change "tests:" to "data_tests:"

This commit is contained in:
Pablo Martin 2025-01-13 16:00:35 +01:00
parent db1edf7a1c
commit c3c628aec4
29 changed files with 1565 additions and 1565 deletions

View file

@ -14,7 +14,7 @@ models:
- name: id_verification
data_type: text
description: "unique Superhog generated id for this verification"
tests:
data_tests:
- unique
- not_null
@ -27,7 +27,7 @@ models:
- name: id_user_partner
data_type: text
description: "unique Superhog generated id for partner"
tests:
data_tests:
- not_null
- name: id_accommodation
@ -37,7 +37,7 @@ models:
- name: version
data_type: text
description: "value to identify if it is Guesty (V1) or E-deposit (V2)"
tests:
data_tests:
- accepted_values:
values:
- V1
@ -45,7 +45,7 @@ models:
- name: verification_source
data_type: text
description: "source of the verification for the booking"
tests:
data_tests:
- accepted_values:
values:
- Guesty
@ -213,7 +213,7 @@ models:
- name: id_verification
data_type: text
description: "unique Superhog generated id for this verification"
tests:
data_tests:
- unique
- not_null
@ -222,7 +222,7 @@ models:
description: "unique Superhog generated id for a booking.
note that there might be duplicate bookings on the original data
but we remove them keeping only the verification with the most recent update."
tests:
data_tests:
- not_null
- unique
@ -233,13 +233,13 @@ models:
- name: is_cancelled
data_type: boolean
description: "indicates if the booking has been cancelled or not."
tests:
data_tests:
- not_null
- name: ok_status_fee_in_gbp
data_type: integer
description: "total fee charged on checkout, this is only charged for approved verifications"
tests:
data_tests:
- not_null
- dbt_expectations.expect_column_values_to_be_between:
min_value: 0
@ -249,11 +249,11 @@ models:
- name: created_date_utc
data_type: date
description: "Date of creation of the verification in the system"
tests:
data_tests:
- not_null
- name: checkout_date_utc
data_type: date
description: "Date of checkout for the booking"
tests:
data_tests:
- not_null