Skip to content

Commit 6d10d43

Browse files
committed
Fix test_htmlhelp; use the basic theme
1 parent d335658 commit 6d10d43

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Diff for: tests/roots/test-basic/conf.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
from __future__ import annotations
22

33
project = 'Python'
4+
html_theme = 'basic'

Diff for: tests/test_htmlhelp.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ def test_build_htmlhelp(app: Sphinx) -> None:
3535
'"pythondoc.hhk","index.html","index.html",,,,,'
3636
'0x63520,220,0x10384e,[0,0,1024,768],,,,,,,0' in hhp)
3737

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

4346

0 commit comments

Comments
 (0)