From 2541db5321f2555c4e8a2aafbd4464b4b7c6f026 Mon Sep 17 00:00:00 2001 From: "Commentator2.0" Date: Sat, 18 Oct 2025 17:19:01 +0200 Subject: [PATCH] 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 --- tests/functional2/lang/test_lang_infra.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/functional2/lang/test_lang_infra.py b/tests/functional2/lang/test_lang_infra.py index 4c0b89a4b..f5cf5eff5 100644 --- a/tests/functional2/lang/test_lang_infra.py +++ b/tests/functional2/lang/test_lang_infra.py @@ -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 + )