@@ -62,7 +62,7 @@ def test_import_json(test_app):
62
62
"needs": {
63
63
"TEST_01": {
64
64
"id": "TEST_01",
65
- "title": "TEST IMPORT DESCRIPTION ",
65
+ "title": "TEST IMPORT TITLE ",
66
66
"type": "impl"
67
67
}
68
68
},
@@ -108,6 +108,10 @@ def test_import_rel_abs_sphinx_paths(test_app, index_content):
108
108
assert app .statuscode == 0
109
109
assert not app .warning_list
110
110
111
+ html = Path (app .outdir , "index.html" ).read_text ()
112
+ assert "TEST IMPORT TITLE" in html
113
+ assert "TEST_01" in html
114
+
111
115
112
116
@pytest .mark .parametrize ("path_sep" , ["/" , "\\ " , "\\ \\ " ])
113
117
@pytest .mark .parametrize (
@@ -138,6 +142,10 @@ def test_import_abs_paths_win(test_app, path_sep):
138
142
assert app .statuscode == 0
139
143
assert not app .warning_list
140
144
145
+ html = Path (app .outdir , "index.html" ).read_text ()
146
+ assert "TEST IMPORT TITLE" in html
147
+ assert "TEST_01" in html
148
+
141
149
142
150
@pytest .mark .parametrize (
143
151
"test_app" ,
@@ -166,6 +174,10 @@ def test_import_abs_paths_lin_mac(test_app):
166
174
assert app .statuscode == 0
167
175
assert not app .warning_list
168
176
177
+ html = Path (app .outdir , "index.html" ).read_text ()
178
+ assert "TEST IMPORT TITLE" in html
179
+ assert "TEST_01" in html
180
+
169
181
170
182
@pytest .mark .parametrize (
171
183
"test_app" ,
0 commit comments