X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/31412e06740727695c5d9512e0cd59c0dd683322..49bd18b04882ae2fb8da4a46ea70e7f5ee030fb6:/test/python/api/query_processing/test_normalize.py diff --git a/test/python/api/query_processing/test_normalize.py b/test/python/api/query_processing/test_normalize.py index db8bbe0b..12a8de2a 100644 --- a/test/python/api/query_processing/test_normalize.py +++ b/test/python/api/query_processing/test_normalize.py @@ -26,9 +26,9 @@ def run_preprocessor_on(query, norm): def test_normalize_simple(): norm = ':: lower();' - query = [qmod.Phrase(qmod.PhraseType.NONE, 'Hallo')] + query = [qmod.Phrase(qmod.PHRASE_ANY, 'Hallo')] out = run_preprocessor_on(query, norm) assert len(out) == 1 - assert out == [qmod.Phrase(qmod.PhraseType.NONE, 'hallo')] + assert out == [qmod.Phrase(qmod.PHRASE_ANY, 'hallo')]