]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/steps/db_ops.py
ignore Unicode format characters for normalization
[nominatim.git] / test / bdd / steps / db_ops.py
index be2211fad9fb17c5ee65eba5ca3350106fd15c12..87babdad88158a1f42cb26f136d5957bfc4ad0b9 100644 (file)
@@ -22,6 +22,8 @@ class PlaceColumn:
             self.add_hstore('extratags', key[6:], value)
         elif key.startswith('addr+'):
             self.add_hstore('address', key[5:], value)
+        elif key in ('name', 'address', 'extratags'):
+            self.columns[key] = eval('{' + value + '}')
         else:
             assert_in(key, ('class', 'type'))
             self.columns[key] = None if value == '' else value