diff options
Diffstat (limited to 'rtemsqual/tests/test_content_sphinx.py')
-rw-r--r-- | rtemsqual/tests/test_content_sphinx.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rtemsqual/tests/test_content_sphinx.py b/rtemsqual/tests/test_content_sphinx.py index c4c86317..94d34fa4 100644 --- a/rtemsqual/tests/test_content_sphinx.py +++ b/rtemsqual/tests/test_content_sphinx.py @@ -96,6 +96,12 @@ yz w """ +def test_get_reference(): + content = SphinxContent() + assert content.get_reference("a") == ":ref:`a`" + assert content.get_reference("a", "b") == ":ref:`b <a>`" + + def test_section(): content = SphinxContent() with content.section("ab cd") as label: |