X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/3493d317e4a22dd41db4a512d35a310275d167e3..0cd3a1b9bd8af6541c65f58608d8be7ad3674607:/test/bdd/steps/steps_db_ops.py diff --git a/test/bdd/steps/steps_db_ops.py b/test/bdd/steps/steps_db_ops.py index 98ed6e1c..44c82b01 100644 --- a/test/bdd/steps/steps_db_ops.py +++ b/test/bdd/steps/steps_db_ops.py @@ -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("(?Pplacex|place) contains(?P exactly)?")