summaryrefslogtreecommitdiff
path: root/tests/test_build_epub.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_build_epub.py')
-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()