diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-06-26 18:26:08 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-07-03 10:22:46 +0200 |
commit | d93b4b573c9e613e8e4bdd6aeac8f97591b1b0ab (patch) | |
tree | c42caec296be3b63f6bbd6d6fb45f1bab6af2324 /rtemsqual/tests/test_specdoc.py | |
parent | items: Do not save internal attributes (diff) | |
download | rtems-central-d93b4b573c9e613e8e4bdd6aeac8f97591b1b0ab.tar.bz2 |
items: Add support for aggregated item type
Diffstat (limited to '')
-rw-r--r-- | rtemsqual/tests/test_specdoc.py | 4 |
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: |