summaryrefslogtreecommitdiffstats
path: root/rtemsqual/tests/test_content_sphinx.py
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-05-21 09:55:13 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-05-28 10:38:23 +0200
commit8fcd040208c9e1b3075b9aa54b4b7f6e4352beca (patch)
treefc8a1a392f40d37cfda524deab5f27fa389aadde /rtemsqual/tests/test_content_sphinx.py
parentcontent: Fix type annotation (diff)
downloadrtems-central-8fcd040208c9e1b3075b9aa54b4b7f6e4352beca.tar.bz2
content: Fix SphinxContent.directive() gaps
Diffstat (limited to 'rtemsqual/tests/test_content_sphinx.py')
-rw-r--r--rtemsqual/tests/test_content_sphinx.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/rtemsqual/tests/test_content_sphinx.py b/rtemsqual/tests/test_content_sphinx.py
index b882c4f1..6df8cca6 100644
--- a/rtemsqual/tests/test_content_sphinx.py
+++ b/rtemsqual/tests/test_content_sphinx.py
@@ -43,11 +43,13 @@ def test_directive():
with sc.directive("x"):
sc.add("y")
assert str(sc) == """.. x::
+
y
"""
with sc.directive("z", "xy", [":a:", ":b:"]):
sc.add("c")
assert str(sc) == """.. x::
+
y
.. z:: xy