@@ -108,11 +108,11 @@ def test_toc_with_parts(self, tmp_path):
108
108
result = get_book_toc (tmp_path )
109
109
assert result == [
110
110
tmp_path / '_build/html/intro.html' ,
111
- tmp_path / '_build/html/_jb_part-1-name -of-part -1.html' ,
111
+ tmp_path / '_build/html/_jb_part-1-Name -of-Part -1.html' ,
112
112
tmp_path / '_build/html/part1/chapter1.html' ,
113
113
[tmp_path / '_build/html/part1/chapter2.html' ,
114
114
tmp_path / '_build/html/part1/section2-1.html' ],
115
- tmp_path / '_build/html/_jb_part-2-name -of-part -2.html' ,
115
+ tmp_path / '_build/html/_jb_part-2-Name -of-Part -2.html' ,
116
116
tmp_path / '_build/html/part2/chapter1.html' ,
117
117
[tmp_path / '_build/html/part2/chapter2.html' ,
118
118
tmp_path / '_build/html/part2/section2-1.html' ]
@@ -146,10 +146,10 @@ def test_toc_with_parts_move_preface(self, tmp_path):
146
146
assert result == [
147
147
tmp_path / '_build/html/intro.html' ,
148
148
tmp_path / '_build/html/path-to/00-Preface.html' ,
149
- tmp_path / '_build/html/_jb_part-1-name -of-part -1.html' ,
149
+ tmp_path / '_build/html/_jb_part-1-Name -of-Part -1.html' ,
150
150
[tmp_path / '_build/html/part1/chapter2.html' ,
151
151
tmp_path / '_build/html/part1/section2-1.html' ],
152
- tmp_path / '_build/html/_jb_part-2-name -of-part -2.html' ,
152
+ tmp_path / '_build/html/_jb_part-2-Name -of-Part -2.html' ,
153
153
tmp_path / '_build/html/part2/chapter1.html' ,
154
154
[tmp_path / '_build/html/part2/chapter2.html' ,
155
155
tmp_path / '_build/html/part2/section2-1.html' ]
@@ -182,10 +182,10 @@ def test_toc_with_parts_move_preface_but_multiple(self, tmp_path):
182
182
tmp_path / '_build/html/intro.html' ,
183
183
tmp_path / '_build/html/path-to/preface.html' ,
184
184
tmp_path / '_build/html/path-to/second-preface.html' ,
185
- tmp_path / '_build/html/_jb_part-1-name -of-part -1.html' ,
185
+ tmp_path / '_build/html/_jb_part-1-Name -of-Part -1.html' ,
186
186
[tmp_path / '_build/html/part1/chapter2.html' ,
187
187
tmp_path / '_build/html/part1/chapter-section.html' ],
188
- tmp_path / '_build/html/_jb_part-2-name -of-part -2.html' ,
188
+ tmp_path / '_build/html/_jb_part-2-Name -of-Part -2.html' ,
189
189
tmp_path / '_build/html/part2/chapter1.html' ,
190
190
[tmp_path / '_build/html/part2/chapter2.html' ,
191
191
tmp_path / '_build/html/part2/section2-1.html' ]
@@ -213,11 +213,11 @@ def test_prefaces_in_sections_do_not_move(self, tmp_path):
213
213
tmp_path / '_build/html/intro.html' ,
214
214
tmp_path / '_build/html/path-to/preface.html' ,
215
215
tmp_path / '_build/html/path-to/second-preface.html' ,
216
- tmp_path / '_build/html/_jb_part-1-name -of-part -1.html' ,
216
+ tmp_path / '_build/html/_jb_part-1-Name -of-Part -1.html' ,
217
217
[tmp_path / '_build/html/part1/chapter2.html' ,
218
218
tmp_path / '_build/html/part1/chapter-section.html' ,
219
219
tmp_path / '_build/html/part1/preface-1.html' ],
220
- tmp_path / '_build/html/_jb_part-2-name -of-part -2.html' ,
220
+ tmp_path / '_build/html/_jb_part-2-Name -of-Part -2.html' ,
221
221
tmp_path / '_build/html/example.html'
222
222
]
223
223
0 commit comments