cht: do not create a database in the current directory when running tests
Bug #1053303 reported by
matley
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.
To post a comment you must log in.
moved https:/ /bugs.launchpad .net/oq- eqcatalogue- tool/+bug/ 1216936