There's a typo in example:
https://github.com/calogica/dbt-expectations#expect_row_values_to_have_data_for_every_n_datepart
There's an extra ")" in this:
date_part: day
test_start_date: '2021-05-01'
test_end_date: '{{ modules.datetime.date.today() - modules.datetime.timedelta(1)) }}'
It should be:
test_end_date: '{{ modules.datetime.date.today() - modules.datetime.timedelta(1) }}'
There's a typo in example:
https://github.com/calogica/dbt-expectations#expect_row_values_to_have_data_for_every_n_datepart
There's an extra ")" in this:It should be: test_end_date: '{{ modules.datetime.date.today() - modules.datetime.timedelta(1) }}'