mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
Verify seealso directives end up in gettext catalogs.
This commit is contained in:
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user