mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Update testcase
This commit is contained in:
parent
45f1253e34
commit
7cb655d7cd
@ -1159,7 +1159,7 @@ def test_html_inventory(app):
|
||||
with open(app.outdir / 'objects.inv') as f:
|
||||
invdata = InventoryFile.load(f, 'http://example.com', os.path.join)
|
||||
assert invdata.keys() == ['std:label', 'std:doc']
|
||||
assert invdata['std:label'].keys() == ['modindex', 'genindex', 'search']
|
||||
assert set(invdata['std:label'].keys()) == {'modindex', 'genindex', 'search'}
|
||||
assert invdata['std:label']['modindex'] == ('Python',
|
||||
'',
|
||||
'http://example.com/py-modindex.html',
|
||||
|
Loading…
Reference in New Issue
Block a user