]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/tools/test_postcodes.py
postcodes: introduce a default pattern for countries without postcodes
[nominatim.git] / test / python / tools / test_postcodes.py
index a34157690c8bd9350fe1881b442abdc970c4fdde..bdfe309471f0995188c9fdd32cc13815e9cac9ee 100644 (file)
@@ -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)