]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/api/test_results.py
move get_addressdata() implementation to Python
[nominatim.git] / test / python / api / test_results.py
index 232740b417fa759fa6624c83fc22f564f9cb4c6f..2a279028b370cb4815684609b3b4dc4365ad5c3b 100644 (file)
@@ -23,6 +23,8 @@ def mkpoint(x, y):
 
 class FakeRow:
     def __init__(self, **kwargs):
+        if 'parent_place_id' not in kwargs:
+            kwargs['parent_place_id'] = None
         for k, v in kwargs.items():
             setattr(self, k, v)
         self._mapping = kwargs