Skip to content

Commit

Permalink
Merge pull request sphinx-doc#5404 from tk0miya/test_DO_EPUBCHECK
Browse files Browse the repository at this point in the history
Add $DO_EPUBCHECK envvar as a workaround for sphinx-doc#4611
  • Loading branch information
tk0miya authored Sep 9, 2018
2 parents 403f7ed + 973986c commit 189072d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_build_epub.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 189072d

Please sign in to comment.