summaryrefslogtreecommitdiffstats
path: root/rtemsqual/tests/test_content_sphinx.py
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-06-01 14:00:29 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-06-08 08:59:20 +0200
commitea0906c9ee40d475ef0fe0cc841b363287c8933c (patch)
tree96f355294f0d0fbe4ee783e78250af0f517536ed /rtemsqual/tests/test_content_sphinx.py
parentspec: Fix specification type (diff)
downloadrtems-central-ea0906c9ee40d475ef0fe0cc841b363287c8933c.tar.bz2
sphinxcontent: Support glossary term plurals
Diffstat (limited to 'rtemsqual/tests/test_content_sphinx.py')
-rw-r--r--rtemsqual/tests/test_content_sphinx.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/rtemsqual/tests/test_content_sphinx.py b/rtemsqual/tests/test_content_sphinx.py
index 46ea052b..f231f5ed 100644
--- a/rtemsqual/tests/test_content_sphinx.py
+++ b/rtemsqual/tests/test_content_sphinx.py
@@ -252,5 +252,6 @@ def test_substitute(tmpdir):
with pytest.raises(KeyError):
mapper.substitute("${x:/y}")
assert mapper.substitute("${x:/term}") == ":term:`y`"
+ assert mapper.substitute("${x:/plural}") == ":term:`ys <y>`"
mapper.add_get_reference("foo", "/name", lambda x, y: x[y])
assert mapper.substitute("${y:/name}") == "bar"