]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/api/search/test_search_poi.py
Merge pull request #3521 from lonvia/make-requests-optional
[nominatim.git] / test / python / api / search / test_search_poi.py
index a0b578baffbc07c2b03b7b06dafc4ca5c7e3b007..d4319a57db2a349897da06a8ed63a59eee837ad5 100644 (file)
@@ -2,17 +2,17 @@
 #
 # 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 POI searcher.
 """
 import pytest
 
-import nominatim.api as napi
-from nominatim.api.types import SearchDetails
-from nominatim.api.search.db_searches import PoiSearch
-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 PoiSearch
+from nominatim_api.search.db_search_fields import WeightedStrings, WeightedCategories
 
 
 def run_search(apiobj, frontend, global_penalty, poitypes, poi_penalties=None,