Commit 58a1d3a
fix: restore missing test macros in e2e dbt project (#2138)
* fix: restore missing test_config_levels macro and fix uniques typo in e2e project
- Add test_config_levels generic test macro that was removed from
dbt-data-reliability in PR #947 but still referenced by the e2e project
- Fix 'uniques' -> 'unique' (standard dbt generic test) on error_model
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
* fix: revert uniques change - intentional error case for error_model
The 'uniques' test (non-existent) on error_model.missing_column was
intentionally creating a compilation error case, tagged as error_test.
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
* fix: define mandatory_params as none in test_config_levels macro
The macro calls elementary.get_anomalies_test_configuration() with
mandatory_params but it was never defined in scope. In the original
dbt-data-reliability code, this was a parameter on the calling test
macros. Since test_config_levels doesn't need mandatory param validation,
define it locally as none.
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Itamar Hartstein <haritamar@gmail.com>1 parent 96a4170 commit 58a1d3a
File tree
1 file changed
+54
-0
lines changed- tests/e2e_dbt_project/macros/generic_tests
1 file changed
+54
-0
lines changedLines changed: 54 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
0 commit comments