Skip to content

Commit 5129607

Browse files
authored
Don't make version bumps a test failure
1 parent 9c366bf commit 5129607

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/pipeline/test_pipeline.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,8 @@ def test_dump_json(self):
606606
assert setting_v6["name"] == setting_gt["name"]
607607
assert setting_v6["text"] == setting_gt["text"]
608608
else:
609-
assert pipeline_groundtruth[key] == pipeline_v6[key]
609+
if key != "date_revision":
610+
assert pipeline_groundtruth[key] == pipeline_v6[key]
610611

611612
def test_load_and_dump_json(self):
612613
pipeline = get_empty_pipeline()

0 commit comments

Comments
 (0)