]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/tools/test_postcodes.py
simplify weigh_search() function
[nominatim.git] / test / python / tools / test_postcodes.py
index 0c4b93fcac2e8e85cc7065d07505cf87f5616402..f5e8f3de0c83c329fce8e2d83a4ecbea0a84ed33 100644 (file)
@@ -11,7 +11,8 @@ import subprocess
 
 import pytest
 
 
 import pytest
 
-from nominatim.tools import postcodes, country_info
+from nominatim.tools import postcodes
+from nominatim.data import country_info
 import dummy_tokenizer
 
 class MockPostcodeTable:
 import dummy_tokenizer
 
 class MockPostcodeTable: