Skip to content

Commit

Permalink
Update test_checkpoint.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JbannisterScottLogic authored Apr 15, 2024
1 parent 24594c2 commit 3e7f1cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/expectations/test_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def test_check_for_duplicate_references(csv_path):
assert success is True, "The function should successfully identify issues."
assert len(issues) == 1, "There should be one issue identified."
assert (
issues[0]["scope"] == "duplicate_reference"
issues[0]["scope"] == "row-group"
), "The issue should be identified as a duplicate reference."
assert (
"REF-001" in issues[0]["message"]
Expand All @@ -172,6 +172,6 @@ def test_validate_references(csv_path):
assert success is False, "The function should fail due to invalid references."
assert len(issues) == 1, "There should be one issue identified."
assert (
issues[0]["scope"] == "invalid_reference"
issues[0]["scope"] == "value"
), "The issue should be identified as an invalid reference."
assert "" in issues[0]["message"], " 4th value should be identified as invalid."

0 comments on commit 3e7f1cb

Please sign in to comment.