tests/functional2/lang: fix expected skip message
it seems like pytest is updating the message printed when skipping a set due to no parametrization which leads to breakage on staging-next. this commit changes the expected message to allow both old and new skip message Change-Id: I34d11ad84d7075911d8229fbc89889bb880a27c9
This commit is contained in:
@@ -859,4 +859,7 @@ def test_generic_missing_in_file(pytest_command: Command):
|
||||
)
|
||||
def test_generic_no_duplicate_collection(pytest_command: Command):
|
||||
res = pytest_command.run().ok()
|
||||
assert "test_invalid_configuration[name0-reasons0] SKIPPED" in res.stdout_plain
|
||||
assert (
|
||||
"test_invalid_configuration[name0-reasons0] SKIPPED" in res.stdout_plain
|
||||
or "test_invalid_configuration[NOTSET]" in res.stdout_plain
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user