X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8b8dfc46ebee5f78a91685dc83dc9382d21aad0e..65bd749918e2368c0f9f14a696bbec473de21530:/test/python/dummy_tokenizer.py?ds=inline 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):