Verify seealso directives end up in gettext catalogs.

This commit is contained in:
Robert Lehmann
2012-12-16 21:21:37 +01:00
parent be25138d93
commit cbca1bdc97
+8
View File
@@ -37,6 +37,14 @@ def test_build(app):
assert (app.outdir / 'subdir.pot').isfile()
@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'])