]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/dummy_tokenizer.py
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / test / python / dummy_tokenizer.py
index 6352a644c9988d52ea187634c10519642caa7cc6..0a86ba8d1598752a00af622e3466f4deede31c0e 100644 (file)
@@ -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):