]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/api/search/test_search_country.py
port unit tests to new python package layout
[nominatim.git] / test / python / api / search / test_search_country.py
index dc87d313a0ff98b1e6b776600bc21889bd0f7c27..2109ecb0bb7fb5ff4cd54ed08e913e446c476a95 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 country searcher.
 """
 import pytest
 
-import nominatim.api as napi
-from nominatim.api.types import SearchDetails
-from nominatim.api.search.db_searches import CountrySearch
-from nominatim.api.search.db_search_fields import WeightedStrings
+import nominatim_api as napi
+from nominatim_api.types import SearchDetails
+from nominatim_api.search.db_searches import CountrySearch
+from nominatim_api.search.db_search_fields import WeightedStrings
 
 
 def run_search(apiobj, frontend, global_penalty, ccodes,