X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ce17b0eecaa7add29e4eb04e06b2580daa656bf2..7fcbe13669e0b4b5d7748c69c02d42678adbf518:/test/python/api/test_results.py?ds=sidebyside diff --git a/test/python/api/test_results.py b/test/python/api/test_results.py index 232740b4..2a279028 100644 --- a/test/python/api/test_results.py +++ b/test/python/api/test_results.py @@ -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