X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/81eed0680cd2a8b5c53217ab2996a43ab17f5056..f289db9bfe21c5a725e751be98e2b824026e2310:/test/python/tokenizer/test_legacy.py diff --git a/test/python/tokenizer/test_legacy.py b/test/python/tokenizer/test_legacy.py index f7f04490..bf208c92 100644 --- a/test/python/tokenizer/test_legacy.py +++ b/test/python/tokenizer/test_legacy.py @@ -1,8 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0-only +# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # -# Copyright (C) 2022 by the Nominatim developer community. +# Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Test for legacy tokenizer. @@ -12,10 +12,10 @@ import re import pytest -from nominatim.data.place_info import PlaceInfo -from nominatim.tokenizer import legacy_tokenizer -from nominatim.db import properties -from nominatim.errors import UsageError +from nominatim_db.data.place_info import PlaceInfo +from nominatim_db.tokenizer import legacy_tokenizer +from nominatim_db.db import properties +from nominatim_db.errors import UsageError from mock_legacy_word_table import MockLegacyWordTable