cht: do not create a database in the current directory when running tests

Bug #1053303 reported by matley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Won't Fix
Undecided
Unassigned

Bug Description

Some (qa) tests creates a sqlite database in the current directory with filename "eqcatalogue.db". Moreover, if the file already exists, it will be completely dropped and recreated. This could be the cause of unexpected data-deletion.

Use a temporary filename when running tests could fix this issue.

Revision history for this message
matley (matley) wrote :
Changed in openquake:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.