X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/af85ad390fcafbf6d73577b0d5d95c945d6d70b2..c2aa7a9b439740c2ac6b5f1d532c2375a113e921:/test/python/api/test_api_search.py diff --git a/test/python/api/test_api_search.py b/test/python/api/test_api_search.py index 22dbaa26..54138e24 100644 --- a/test/python/api/test_api_search.py +++ b/test/python/api/test_api_search.py @@ -2,7 +2,7 @@ # # This file is part of Nominatim. (https://nominatim.org) # -# Copyright (C) 2023 by the Nominatim developer community. +# Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Tests for search API calls. @@ -16,14 +16,14 @@ import pytest import sqlalchemy as sa -import nominatim.api as napi -import nominatim.api.logging as loglib +import nominatim_api as napi +import nominatim_api.logging as loglib API_OPTIONS = {'search'} @pytest.fixture(autouse=True) def setup_icu_tokenizer(apiobj): - """ Setup the propoerties needed for using the ICU tokenizer. + """ Setup the properties needed for using the ICU tokenizer. """ apiobj.add_data('properties', [{'property': 'tokenizer', 'value': 'icu'},