]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/steps/steps_db_ops.py
bdd: move update tests from scenes to grid descriptions
[nominatim.git] / test / bdd / steps / steps_db_ops.py
index 98ed6e1c3f247c3432a68d3502305c32be96f923..44c82b017c04e687432a933234a5e852a0b96bec 100644 (file)
@@ -142,6 +142,11 @@ def delete_places(context, oids):
 
     context.nominatim.reindex_placex(context.db)
 
+    # Remove the output of the input, when all was right. Otherwise it will be
+    # output when there are errors that had nothing to do with the import
+    # itself.
+    context.log_capture.buffer.clear()
+
 ################################ THEN ##################################
 
 @then("(?P<table>placex|place) contains(?P<exact> exactly)?")