diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-06-01 14:00:29 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-06-08 08:59:20 +0200 |
commit | ea0906c9ee40d475ef0fe0cc841b363287c8933c (patch) | |
tree | 96f355294f0d0fbe4ee783e78250af0f517536ed /rtemsqual/tests/test_content_sphinx.py | |
parent | spec: Fix specification type (diff) | |
download | rtems-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.py | 1 |
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" |