Skip to content

Commit aca2891

Browse files
author
Alan Christie
committed
test: Fix tests
1 parent 967b3b3 commit aca2891

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_workflow_validator_for_run_level.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,10 @@ def test_validate_no_such_job(wapi):
3838
assert error.error_num != 0
3939
assert error.error_msg != None
4040
assert len(error.error_msg) == 1
41-
assert error.error_msg[0].startswith("Step ")
42-
assert error.error_msg[0].endswith(" is not present")
41+
assert (
42+
error.error_msg[0]
43+
== "The job for step 'step-1' is not present (a|no-such-job|1.0.0)"
44+
)
4345

4446

4547
def test_validate_example_nop_file(wapi):

0 commit comments

Comments
 (0)