X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/cefa7a3c3bba1e072e1518062da7fd1c1facdc00..fa0cf215e723401fec62a3b336a4ed8908c2bfed:/tests/steps/db_setup.py diff --git a/tests/steps/db_setup.py b/tests/steps/db_setup.py index 14f17756..e1315ed9 100644 --- a/tests/steps/db_setup.py +++ b/tests/steps/db_setup.py @@ -95,6 +95,9 @@ def _format_placex_cols(cols, geomtype, force_name): else: coords = "'%s'::geometry" % coords.wkt cols['geometry'] = coords + for k in cols: + if not cols[k]: + cols[k] = None def _insert_place_table_nodes(places, force_name):