Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Lehmann <mail@robertlehmann.de>2012-12-17 00:21:37 +0400
committerRobert Lehmann <mail@robertlehmann.de>2012-12-17 00:21:37 +0400
commitcbca1bdc979d20f7f9c17781023b7342f2cd2eae (patch)
treee9b4175f1bc0889e835ec66717f6df2641fa7739 /tests/test_build_gettext.py
parentbe25138d9354f45e642bf57bfd83ddd9223866c8 (diff)
Verify seealso directives end up in gettext catalogs.
Diffstat (limited to 'tests/test_build_gettext.py')
-rw-r--r--tests/test_build_gettext.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_build_gettext.py b/tests/test_build_gettext.py
index ab68289e3..d420734c6 100644
--- a/tests/test_build_gettext.py
+++ b/tests/test_build_gettext.py
@@ -38,6 +38,14 @@ def test_build(app):
@with_app(buildername='gettext')
+def test_seealso(app):
+ # regression test for issue #960
+ app.builder.build(['markup'])
+ catalog = (app.outdir / 'markup.pot').text()
+ assert 'msgid "something, something else, something more"' in catalog
+
+
+@with_app(buildername='gettext')
def test_gettext(app):
app.builder.build(['markup'])