Update testcase

This commit is contained in:
Takeshi KOMIYA 2017-03-04 00:02:38 +09:00
parent 45f1253e34
commit 7cb655d7cd

View File

@ -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',