]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/api/search/test_query_analyzer_factory.py
Merge pull request #3517 from lonvia/improve-custom-formatter
[nominatim.git] / test / python / api / search / test_query_analyzer_factory.py
index 2d113e3e99ee5a6a00d3176ea2c5fa4605d12171..9545a88ff21ee03d1456205a3699841e649f5de2 100644 (file)
@@ -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 query analyzer creation.
@@ -11,9 +11,9 @@ from pathlib import Path
 
 import pytest
 
-from nominatim.api import NominatimAPIAsync
-from nominatim.api.search.query_analyzer_factory import make_query_analyzer
-from nominatim.api.search.icu_tokenizer import ICUQueryAnalyzer
+from nominatim_api import NominatimAPIAsync
+from nominatim_api.search.query_analyzer_factory import make_query_analyzer
+from nominatim_api.search.icu_tokenizer import ICUQueryAnalyzer
 
 @pytest.mark.asyncio
 async def test_import_icu_tokenizer(table_factory):