X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8b8dfc46ebee5f78a91685dc83dc9382d21aad0e..f93d0fa95745c9f1e5b1126e8dd4b09a9daa32d2:/test/python/dummy_tokenizer.py diff --git a/test/python/dummy_tokenizer.py b/test/python/dummy_tokenizer.py index 2e61a245..18e322ca 100644 --- a/test/python/dummy_tokenizer.py +++ b/test/python/dummy_tokenizer.py @@ -51,7 +51,10 @@ class DummyNameAnalyzer: def close(self): pass - def add_postcodes_from_db(self): + def normalize_postcode(self, postcode): + return postcode + + def update_postcodes_from_db(self): pass def update_special_phrases(self, phrases, should_replace):