diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-05-29 07:09:07 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-06-08 08:59:19 +0200 |
commit | 9d7485d47724496728a818c965d8da1478f0c95b (patch) | |
tree | 16b21014265289fc1e6ab7b1a784990ff11836f1 /rtemsqual/tests/test_content_sphinx.py | |
parent | interface: Fix substitution (diff) | |
download | rtems-central-9d7485d47724496728a818c965d8da1478f0c95b.tar.bz2 |
sphinxcontent: Add section prefix member
Diffstat (limited to 'rtemsqual/tests/test_content_sphinx.py')
-rw-r--r-- | rtemsqual/tests/test_content_sphinx.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rtemsqual/tests/test_content_sphinx.py b/rtemsqual/tests/test_content_sphinx.py index 83f4cbd9..46ea052b 100644 --- a/rtemsqual/tests/test_content_sphinx.py +++ b/rtemsqual/tests/test_content_sphinx.py @@ -26,7 +26,7 @@ import pytest -from rtemsqual.sphinxcontent import get_reference, get_section_label, \ +from rtemsqual.sphinxcontent import get_reference, get_label, \ SphinxContent, SphinxMapper from rtemsqual.items import Item, ItemCache, ItemMapper from rtemsqual.tests.util import create_item_cache_config_and_copy_spec @@ -104,8 +104,8 @@ def test_get_reference(): assert get_reference("a", "b") == ":ref:`b <a>`" -def test_get_section_label(): - assert get_section_label("ab cd") == "SectionAbCd" +def test_get_label(): + assert get_label("ab cd") == "AbCd" def test_section(): |