Skip to content

Commit

Permalink
Fix test_htmlhelp; use the basic theme
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Jul 28, 2024
1 parent d335658 commit 6d10d43
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions tests/roots/test-basic/conf.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations

project = 'Python'
html_theme = 'basic'
9 changes: 6 additions & 3 deletions tests/test_htmlhelp.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ def test_build_htmlhelp(app: Sphinx) -> None:
'"pythondoc.hhk","index.html","index.html",,,,,'
'0x63520,220,0x10384e,[0,0,1024,768],,,,,,,0' in hhp)

files = ['genindex.html', 'index.html', '_static\\alabaster.css', '_static\\basic.css',
'_static\\custom.css', '_static\\file.png', '_static\\github-banner.svg',
'_static\\minus.png', '_static\\plus.png', '_static\\pygments.css']
files = (
'genindex.html', 'index.html',
'_static\\basic.css',
'_static\\file.png', '_static\\minus.png', '_static\\plus.png',
'_static\\pygments.css',
)
assert '[FILES]\n' + '\n'.join(files) in hhp


Expand Down

0 comments on commit 6d10d43

Please sign in to comment.