]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/api/search/test_search_near.py
port unit tests to new python package layout
[nominatim.git] / test / python / api / search / test_search_near.py
index 5b60dd51d59c9626906591591d1b326d73c3ddb1..43098ddd20e5af93ca3c5b4f76235f2d565c58fa 100644 (file)
@@ -2,19 +2,19 @@
 #
 # This file is part of Nominatim. (https://nominatim.org)
 #
 #
 # 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 running the near searcher.
 """
 import pytest
 
 # For a full list of authors see the git log.
 """
 Tests for running the near searcher.
 """
 import pytest
 
-import nominatim.api as napi
-from nominatim.api.types import SearchDetails
-from nominatim.api.search.db_searches import NearSearch, PlaceSearch
-from nominatim.api.search.db_search_fields import WeightedStrings, WeightedCategories,\
+import nominatim_api as napi
+from nominatim_api.types import SearchDetails
+from nominatim_api.search.db_searches import NearSearch, PlaceSearch
+from nominatim_api.search.db_search_fields import WeightedStrings, WeightedCategories,\
                                                   FieldLookup, FieldRanking, RankedTokens
                                                   FieldLookup, FieldRanking, RankedTokens
-from nominatim.api.search.db_search_lookups import LookupAll
+from nominatim_api.search.db_search_lookups import LookupAll
 
 
 def run_search(apiobj, frontend, global_penalty, cat, cat_penalty=None, ccodes=[],
 
 
 def run_search(apiobj, frontend, global_penalty, cat, cat_penalty=None, ccodes=[],