X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/3493d317e4a22dd41db4a512d35a310275d167e3..674185a0651a4f6719e7fe71e00cca147783a1f4:/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("(?P