summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-09-09 19:21:49 +0900
committerGitHub <noreply@github.com>2018-09-09 19:21:49 +0900
commit189072dbc9d8df9e2014285ddef7ccddff020864 (patch)
tree66e1aba0d478a8c6193841b3ca267d1da69fced9
parent403f7edb171970041193c9800db53daa4c6bbb50 (diff)
parent973986cfdbb053b4b28266ed318c1d526a36abc0 (diff)
downloadsphinx-git-1.7.tar.gz
Merge pull request #5404 from tk0miya/test_DO_EPUBCHECK1.7
Add $DO_EPUBCHECK envvar as a workaround for #4611
-rw-r--r--tests/test_build_epub.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_build_epub.py b/tests/test_build_epub.py
index dae094028..6c435fbdc 100644
--- a/tests/test_build_epub.py
+++ b/tests/test_build_epub.py
@@ -326,6 +326,8 @@ def test_epub_anchor_id(app):
assert 'see <a class="reference internal" href="#std-setting-STATICFILES_FINDERS">' in html
+@pytest.mark.skipif('DO_EPUBCHECK' not in os.environ,
+ reason='Skipped because DO_EPUBCHECK is not set')
@pytest.mark.sphinx('epub')
def test_run_epubcheck(app):
app.build()