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

Bug #1216936 reported by matley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Openquake Earthquake Catalogue Tool
New
Undecided
Paolo Tormene

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.

matley (matley)
Changed in oq-eqcatalogue-tool:
assignee: nobody → Paolo Tormene (paolo-tormene)
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.