]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/dummy_tokenizer.py
fix typo
[nominatim.git] / test / python / dummy_tokenizer.py
index 69202bc322ffd88e103f60f8ced809bfa8e82fd3..db0f32cda6a1f95b1e590a8b7b1ef4be83975659 100644 (file)
@@ -1,6 +1,7 @@
 """
 Tokenizer for testing.
 """
+from nominatim.indexer.place_info import PlaceInfo
 
 def create(dsn, data_dir):
     """ Create a new instance of the tokenizer provided by this module.
@@ -68,4 +69,5 @@ class DummyNameAnalyzer:
 
     @staticmethod
     def process_place(place):
+        assert isinstance(place, PlaceInfo)
         return {}