]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/dummy_tokenizer.py
test: use src_dir fixture instead of self-computed paths
[nominatim.git] / test / python / dummy_tokenizer.py
index 2e61a24524c992e8cc41161fe7fffc5d6e11d6a4..18e322caef3d5642939698ed5d83c22726058150 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, should_replace):