X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b90e719da595b6760b39b7cd64ee29447de2d5e8..0cd3a1b9bd8af6541c65f58608d8be7ad3674607:/test/python/tools/test_postcodes.py diff --git a/test/python/tools/test_postcodes.py b/test/python/tools/test_postcodes.py index a3415769..bdfe3094 100644 --- a/test/python/tools/test_postcodes.py +++ b/test/python/tools/test_postcodes.py @@ -1,3 +1,9 @@ +# 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 functions to maintain the artificial postcode table. """ @@ -59,7 +65,7 @@ def tokenizer(): return dummy_tokenizer.DummyTokenizer(None, None) @pytest.fixture -def postcode_table(temp_db_conn, placex_table, word_table): +def postcode_table(temp_db_conn, placex_table): return MockPostcodeTable(temp_db_conn)