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.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_build_epub.py b/tests/test_build_epub.py
index ca6f09cdd..f893e1351 100644
--- a/tests/test_build_epub.py
+++ b/tests/test_build_epub.py
@@ -320,13 +320,13 @@ def test_epub_anchor_id(app):
app.build()
html = (app.outdir / 'index.xhtml').read_text()
- assert ('<p id="std-setting-staticfiles_finders">'
+ assert ('<p id="std-setting-STATICFILES_FINDERS">'
'<span id="std-setting-STATICFILES_FINDERS"></span>'
'blah blah blah</p>' in html)
- assert ('<span id="std-setting-staticfiles_section"></span>'
+ assert ('<span id="std-setting-STATICFILES_SECTION"></span>'
'<span id="std-setting-STATICFILES_SECTION"></span>'
'<h1>blah blah blah</h1>' in html)
- assert 'see <a class="reference internal" href="#std-setting-staticfiles_finders">' in html
+ assert 'see <a class="reference internal" href="#std-setting-STATICFILES_FINDERS">' in html
@pytest.mark.sphinx('epub', testroot='html_assets')