summaryrefslogtreecommitdiffstats
path: root/rtemsqual/tests/test_specdoc.py
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-06-26 18:26:08 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-07-03 10:22:46 +0200
commitd93b4b573c9e613e8e4bdd6aeac8f97591b1b0ab (patch)
treec42caec296be3b63f6bbd6d6fb45f1bab6af2324 /rtemsqual/tests/test_specdoc.py
parentitems: Do not save internal attributes (diff)
downloadrtems-central-d93b4b573c9e613e8e4bdd6aeac8f97591b1b0ab.tar.bz2
items: Add support for aggregated item type
Diffstat (limited to '')
-rw-r--r--rtemsqual/tests/test_specdoc.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/rtemsqual/tests/test_specdoc.py b/rtemsqual/tests/test_specdoc.py
index b2ed7d47..6c18571a 100644
--- a/rtemsqual/tests/test_specdoc.py
+++ b/rtemsqual/tests/test_specdoc.py
@@ -34,7 +34,9 @@ from rtemsqual.tests.util import create_item_cache_config_and_copy_spec
def test_document(tmpdir):
item_cache_config = create_item_cache_config_and_copy_spec(
tmpdir, "spec-doc")
+ item_cache_config["spec-type-root-uid"] = "/root"
item_cache = ItemCache(item_cache_config)
+ assert item_cache["/root"].type == "spec"
doc_target = os.path.join(tmpdir, "items.rst")
config = {
"root-type": "/root",
@@ -191,7 +193,7 @@ A
^
This type refines the :ref:`SpecTypeRoot` though the ``type`` attribute if the
-value is ``a``.
+value is ``spec``.
The explicit attributes for this type are: