summaryrefslogtreecommitdiffstats
path: root/rtemsspec/tests/test_specdoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'rtemsspec/tests/test_specdoc.py')
-rw-r--r--rtemsspec/tests/test_specdoc.py21
1 files changed, 18 insertions, 3 deletions
diff --git a/rtemsspec/tests/test_specdoc.py b/rtemsspec/tests/test_specdoc.py
index 0a3d2941..1c0ae586 100644
--- a/rtemsspec/tests/test_specdoc.py
+++ b/rtemsspec/tests/test_specdoc.py
@@ -39,9 +39,24 @@ def test_document(tmpdir):
assert item_cache["/root"].type == "spec"
doc_target = os.path.join(tmpdir, "items.rst")
config = {
- "root-type": "/root",
- "doc-target": doc_target,
- "label-prefix": "SpecType",
+ "doc-target":
+ doc_target,
+ "hierarchy-subsection-name":
+ "Specification Item Hierarchy",
+ "hierarchy-text":
+ "The specification item types have the following hierarchy:",
+ "item-types-subsection-name":
+ "Specification Item Types",
+ "label-prefix":
+ "SpecType",
+ "root-type":
+ "/root",
+ "section-label-prefix":
+ "ReqEng",
+ "section-name":
+ "Specification Items",
+ "value-types-subsection-name":
+ "Specification Attribute Sets and Value Types",
}
document(config, item_cache)
with open(doc_target, "r") as src: