summaryrefslogtreecommitdiffstats
path: root/rtemsqual/tests/test_content_sphinx.py
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-06-16 17:17:09 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-07-03 10:22:45 +0200
commitb93290d89f3a08d6352fe025956faaeccf4f6a81 (patch)
tree3709326103a128d53c8a2f95665af75e9c9b9940 /rtemsqual/tests/test_content_sphinx.py
parentsphinxcontent: Add SphinxContent.definition_item() (diff)
downloadrtems-central-b93290d89f3a08d6352fe025956faaeccf4f6a81.tar.bz2
sphinxcontent: Optional wrap in add_definition_item()
Diffstat (limited to 'rtemsqual/tests/test_content_sphinx.py')
-rw-r--r--rtemsqual/tests/test_content_sphinx.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/rtemsqual/tests/test_content_sphinx.py b/rtemsqual/tests/test_content_sphinx.py
index bb8ba6cc..5d24a818 100644
--- a/rtemsqual/tests/test_content_sphinx.py
+++ b/rtemsqual/tests/test_content_sphinx.py
@@ -217,6 +217,11 @@ def test_add_definition_item():
assert str(content) == """a
b
"""
+ content = SphinxContent()
+ content.add_definition_item("a", "\n b\nc", wrap=True)
+ assert str(content) == """a
+ b c
+"""
def test_definition_item():