Skip to content

Commit 3e7f1cb

Browse files
Update test_checkpoint.py
1 parent 24594c2 commit 3e7f1cb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/integration/expectations/test_checkpoint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def test_check_for_duplicate_references(csv_path):
156156
assert success is True, "The function should successfully identify issues."
157157
assert len(issues) == 1, "There should be one issue identified."
158158
assert (
159-
issues[0]["scope"] == "duplicate_reference"
159+
issues[0]["scope"] == "row-group"
160160
), "The issue should be identified as a duplicate reference."
161161
assert (
162162
"REF-001" in issues[0]["message"]
@@ -172,6 +172,6 @@ def test_validate_references(csv_path):
172172
assert success is False, "The function should fail due to invalid references."
173173
assert len(issues) == 1, "There should be one issue identified."
174174
assert (
175-
issues[0]["scope"] == "invalid_reference"
175+
issues[0]["scope"] == "value"
176176
), "The issue should be identified as an invalid reference."
177177
assert "" in issues[0]["message"], " 4th value should be identified as invalid."

0 commit comments

Comments
 (0)