X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/bb175cc95898de420781867973b38d033c187e81..18864afa8aee710a5aa7fe65565711119ca7a663:/test/python/tools/test_postcodes.py?ds=sidebyside 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)