removef all tests for edeposit_verification_fees

This commit is contained in:
Joaquin Ossa 2024-09-13 16:31:47 +02:00
parent 5551c97db0
commit 32c8ffb655
2 changed files with 83 additions and 83 deletions

View file

@ -219,89 +219,89 @@ models:
description: "Unique Superhog generated id for this verification. description: "Unique Superhog generated id for this verification.
Note that there are some users that have a different id in Cosmos. Note that there are some users that have a different id in Cosmos.
For those users we created a mapping to relate this ids." For those users we created a mapping to relate this ids."
tests: # tests:
- unique # - unique
- not_null # - not_null
- name: id_booking - name: id_booking
data_type: text data_type: text
description: "unique Superhog generated id for a booking. description: "unique Superhog generated id for a booking.
note that this could be duplicated and both will be charged, note that this could be duplicated and both will be charged,
it's up to the user to no generate duplicate verifications" it's up to the user to no generate duplicate verifications"
tests: # tests:
- not_null # - not_null
- name: currency - name: currency
data_type: text data_type: text
description: "currency in which the transaction actually happened" description: "currency in which the transaction actually happened"
tests: # tests:
- not_null # - not_null
- name: ok_status_fee_in_txn_currency - name: ok_status_fee_in_txn_currency
data_type: numeric data_type: numeric
description: "fee charged in used currency for approved or flagged verifications and not cancelled" description: "fee charged in used currency for approved or flagged verifications and not cancelled"
tests: # tests:
- not_null # - not_null
- dbt_expectations.expect_column_values_to_be_between: # - dbt_expectations.expect_column_values_to_be_between:
min_value: 0 # min_value: 0
strictly: false # strictly: false
- name: ok_status_fee_in_gbp - name: ok_status_fee_in_gbp
data_type: numeric data_type: numeric
description: "fee charged in gbp for approved or flagged verifications and not cancelled" description: "fee charged in gbp for approved or flagged verifications and not cancelled"
tests: # tests:
- not_null # - not_null
- dbt_expectations.expect_column_values_to_be_between: # - dbt_expectations.expect_column_values_to_be_between:
min_value: 0 # min_value: 0
strictly: false # strictly: false
- name: rejected_fee_in_txn_currency - name: rejected_fee_in_txn_currency
data_type: numeric data_type: numeric
description: "fee charged in used currency for rejected verifications" description: "fee charged in used currency for rejected verifications"
tests: # tests:
- not_null # - not_null
- dbt_expectations.expect_column_values_to_be_between: # - dbt_expectations.expect_column_values_to_be_between:
min_value: 0 # min_value: 0
strictly: false # strictly: false
- name: rejected_fee_in_gbp - name: rejected_fee_in_gbp
data_type: numeric data_type: numeric
description: "fee charged in gbp for rejected verifications" description: "fee charged in gbp for rejected verifications"
tests: # tests:
- not_null # - not_null
- dbt_expectations.expect_column_values_to_be_between: # - dbt_expectations.expect_column_values_to_be_between:
min_value: 0 # min_value: 0
strictly: false # strictly: false
- name: cancelled_fee_in_txn_currency - name: cancelled_fee_in_txn_currency
data_type: numeric data_type: numeric
description: "fee charged in used currency for cancelled verifications" description: "fee charged in used currency for cancelled verifications"
tests: # tests:
- not_null # - not_null
- dbt_expectations.expect_column_values_to_be_between: # - dbt_expectations.expect_column_values_to_be_between:
min_value: 0 # min_value: 0
strictly: false # strictly: false
- name: cancelled_fee_in_gbp - name: cancelled_fee_in_gbp
data_type: numeric data_type: numeric
description: "fee charged in gbp for cancelled verifications" description: "fee charged in gbp for cancelled verifications"
tests: # tests:
- not_null # - not_null
- dbt_expectations.expect_column_values_to_be_between: # - dbt_expectations.expect_column_values_to_be_between:
min_value: 0 # min_value: 0
strictly: false # strictly: false
- name: checkout_date_utc - name: checkout_date_utc
data_type: date data_type: date
description: "Date of checkout for the booking" description: "Date of checkout for the booking"
tests: # tests:
- not_null # - not_null
- name: created_date_utc - name: created_date_utc
data_type: date data_type: date
description: "Date of creation of the verification in the system" description: "Date of creation of the verification in the system"
tests: # tests:
- not_null # - not_null
- name: int_edeposit__guesty_verifications - name: int_edeposit__guesty_verifications
description: "This table shows all verification for Guesty. description: "This table shows all verification for Guesty.

View file

@ -12,90 +12,90 @@ models:
- name: id_verification - name: id_verification
data_type: text data_type: text
description: "unique Superhog generated id for this verification" description: "unique Superhog generated id for this verification"
tests: # tests:
- unique # - unique
- not_null # - not_null
- name: id_booking - name: id_booking
data_type: text data_type: text
description: "unique Superhog generated id for a booking. description: "unique Superhog generated id for a booking.
note that there might be duplicate bookings on the original data note that there might be duplicate bookings on the original data
but we remove them keeping only the verification with the most recent update." but we remove them keeping only the verification with the most recent update."
tests: # tests:
- not_null # - not_null
- unique # - unique
- name: currency - name: currency
data_type: text data_type: text
description: "currency in which the transaction actually happened" description: "currency in which the transaction actually happened"
tests: # tests:
- not_null # - not_null
- name: ok_status_fee_in_txn_currency - name: ok_status_fee_in_txn_currency
data_type: numeric data_type: numeric
description: "fee charged in used currency for approved or flagged verifications and not cancelled" description: "fee charged in used currency for approved or flagged verifications and not cancelled"
tests: # tests:
- not_null # - not_null
- dbt_expectations.expect_column_values_to_be_between: # - dbt_expectations.expect_column_values_to_be_between:
min_value: 0 # min_value: 0
strictly: false # strictly: false
- name: ok_status_fee_in_gbp - name: ok_status_fee_in_gbp
data_type: numeric data_type: numeric
description: "fee charged in gbp for approved or flagged verifications and not cancelled" description: "fee charged in gbp for approved or flagged verifications and not cancelled"
tests: # tests:
- not_null # - not_null
- dbt_expectations.expect_column_values_to_be_between: # - dbt_expectations.expect_column_values_to_be_between:
min_value: 0 # min_value: 0
strictly: false # strictly: false
- name: rejected_fee_in_txn_currency - name: rejected_fee_in_txn_currency
data_type: numeric data_type: numeric
description: "fee charged in used currency for rejected verifications" description: "fee charged in used currency for rejected verifications"
tests: # tests:
- not_null # - not_null
- dbt_expectations.expect_column_values_to_be_between: # - dbt_expectations.expect_column_values_to_be_between:
min_value: 0 # min_value: 0
strictly: false # strictly: false
- name: rejected_fee_in_gbp - name: rejected_fee_in_gbp
data_type: numeric data_type: numeric
description: "fee charged in gbp for rejected verifications" description: "fee charged in gbp for rejected verifications"
tests: # tests:
- not_null # - not_null
- dbt_expectations.expect_column_values_to_be_between: # - dbt_expectations.expect_column_values_to_be_between:
min_value: 0 # min_value: 0
strictly: false # strictly: false
- name: cancelled_fee_in_txn_currency - name: cancelled_fee_in_txn_currency
data_type: numeric data_type: numeric
description: "fee charged in used currency for cancelled verifications" description: "fee charged in used currency for cancelled verifications"
tests: # tests:
- not_null # - not_null
- dbt_expectations.expect_column_values_to_be_between: # - dbt_expectations.expect_column_values_to_be_between:
min_value: 0 # min_value: 0
strictly: false # strictly: false
- name: cancelled_fee_in_gbp - name: cancelled_fee_in_gbp
data_type: numeric data_type: numeric
description: "fee charged in gbp for cancelled verifications" description: "fee charged in gbp for cancelled verifications"
tests: # tests:
- not_null # - not_null
- dbt_expectations.expect_column_values_to_be_between: # - dbt_expectations.expect_column_values_to_be_between:
min_value: 0 # min_value: 0
strictly: false # strictly: false
- name: checkout_date_utc - name: checkout_date_utc
data_type: date data_type: date
description: "Date of checkout for the booking" description: "Date of checkout for the booking"
tests: # tests:
- not_null # - not_null
- name: created_date_utc - name: created_date_utc
data_type: date data_type: date
description: "Date of creation of the verification in the system" description: "Date of creation of the verification in the system"
tests: # tests:
- not_null # - not_null
- name: edeposit__guesty_verifications - name: edeposit__guesty_verifications
description: "This table shows all verification for Guesty. description: "This table shows all verification for Guesty.