X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/fed46240d5af3a2543e7cac930a862d6a0abde7b..60b03d506f60fdbaf6adc23242ca8367db8393b4:/test/python/api/search/test_token_assignment.py?ds=sidebyside diff --git a/test/python/api/search/test_token_assignment.py b/test/python/api/search/test_token_assignment.py index 54e8af14..cde8495d 100644 --- a/test/python/api/search/test_token_assignment.py +++ b/test/python/api/search/test_token_assignment.py @@ -19,7 +19,8 @@ class MyToken(Token): def make_query(*args): q = QueryStruct([Phrase(args[0][1], '')]) - dummy = MyToken(3.0, 45, 1, 'foo', True) + dummy = MyToken(penalty=3.0, token=45, count=1, addr_count=1, + lookup_word='foo', is_indexed=True) for btype, ptype, _ in args[1:]: q.add_node(btype, ptype)