1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: Christian Bayle <bayle@debian.org>
Date: Mon, 21 Apr 2025 00:06:06 +0200
Subject: Fix test parallel execution assertion
Forwarded: not-needed
---
tests/test_parallel_execution.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/test_parallel_execution.py b/tests/test_parallel_execution.py
index 4ae28a1..c21b6ac 100644
--- a/tests/test_parallel_execution.py
+++ b/tests/test_parallel_execution.py
@@ -29,7 +29,8 @@ def test_doc_build_html(test_app):
)
assert (
warnings
- == "<srcdir>/page_5.rst:4: WARNING: A need with ID STORY_PAGE_1 already exists, title: 'duplicate'. [needs.duplicate_id]"
+ == "<srcdir>/page_5.rst:4: WARNING: Need could not be created: A need with ID 'STORY_PAGE_1' already exists. [needs.create_need]"
+# == "<srcdir>/page_5.rst:4: WARNING: A need with ID STORY_PAGE_1 already exists, title: 'duplicate'. [needs.duplicate_id]"
)
index_html = Path(app.outdir, "index.html").read_text()
|