do not create a database in the current directory when running tests
Bug #1216936 reported by
matley
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.
Changed in oq-eqcatalogue-tool: | |
assignee: | nobody → Paolo Tormene (paolo-tormene) |
To post a comment you must log in.