Skip to content

Commit 65c39fa

Browse files
committed
bugfix to test_dimension_anomalies_with_timestamp_exclude_final_results
1 parent c5c689c commit 65c39fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integration_tests/tests/test_dimension_anomalies.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def test_dimension_anomalies_with_timestamp_exclude_final_results(
191191
test_args = {
192192
"timestamp_column": TIMESTAMP_COLUMN,
193193
"dimensions": ["superhero"],
194-
"exclude_final_results": "value > 15",
194+
"exclude_final_results": '{{ elementary.escape_reserved_keywords("value") }} > 15',
195195
}
196196
test_result = dbt_project.test(test_id, DBT_TEST_NAME, test_args, data=data)
197197
assert test_result["status"] == "fail"
@@ -200,7 +200,7 @@ def test_dimension_anomalies_with_timestamp_exclude_final_results(
200200
test_args = {
201201
"timestamp_column": TIMESTAMP_COLUMN,
202202
"dimensions": ["superhero"],
203-
"exclude_final_results": "average > 3",
203+
"exclude_final_results": '{{ elementary.escape_reserved_keywords("average") }} > 3',
204204
}
205205
test_result = dbt_project.test(test_id, DBT_TEST_NAME, test_args, data=data)
206206
assert test_result["status"] == "fail"

0 commit comments

Comments
 (0)