]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/tools/test_refresh_create_functions.py
port code to psycopg3
[nominatim.git] / test / python / tools / test_refresh_create_functions.py
index 9fddcd212960590aff5ee86840b90f1f323e1f94..984a161016fecd8f594a00d8a0b7b80010b708a5 100644 (file)
@@ -1,9 +1,15 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# This file is part of Nominatim. (https://nominatim.org)
+#
+# Copyright (C) 2024 by the Nominatim developer community.
+# For a full list of authors see the git log.
 """
 Tests for creating PL/pgSQL functions for Nominatim.
 """
 import pytest
 
-from nominatim.tools.refresh import create_functions
+from nominatim_db.tools.refresh import create_functions
 
 class TestCreateFunctions:
     @pytest.fixture(autouse=True)