X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6d39563b872b21825a61949e88bc47a0e88c7573..f289db9bfe21c5a725e751be98e2b824026e2310:/test/python/api/test_api_search.py?ds=sidebyside 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'},