TESTS: Add missing docname in test_search.py

This commit is contained in:
Matthias Geier
2016-06-07 15:01:18 +02:00
parent 5559150578
commit 3ecb08c5a9

View File

@@ -51,7 +51,7 @@ def test_wordcollector():
parser.parse(FILE_CONTENTS, doc)
ix = IndexBuilder(None, 'en', {}, None)
ix.feed('filename', 'title', doc)
ix.feed('docname', 'filename', 'title', doc)
assert 'boson' not in ix._mapping
assert 'fermion' in ix._mapping