X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/732cd27d2e3033c11eca5b51cc2e6204c5737def..5617bffe2fcf527365bcd801304180e1cc07cb98:/test/python/tokenizer/sanitizers/test_strip_brace_terms.py diff --git a/test/python/tokenizer/sanitizers/test_strip_brace_terms.py b/test/python/tokenizer/sanitizers/test_strip_brace_terms.py index 50af2449..eb554364 100644 --- a/test/python/tokenizer/sanitizers/test_strip_brace_terms.py +++ b/test/python/tokenizer/sanitizers/test_strip_brace_terms.py @@ -1,10 +1,16 @@ +# SPDX-License-Identifier: GPL-2.0-only +# +# This file is part of Nominatim. (https://nominatim.org) +# +# Copyright (C) 2022 by the Nominatim developer community. +# For a full list of authors see the git log. """ Tests for the sanitizer that handles braced suffixes. """ import pytest from nominatim.tokenizer.place_sanitizer import PlaceSanitizer -from nominatim.indexer.place_info import PlaceInfo +from nominatim.data.place_info import PlaceInfo def run_sanitizer_on(**kwargs): place = PlaceInfo({'name': kwargs})