Merge branch 'e2eTesting' of https://mygit.wmg.warwick.ac.uk/u5500327/wmgzon into e2eTesting

This commit is contained in:
2024-02-24 14:09:34 +00:00
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ class DatabaseController(ABC):
__db_name = "wmgzon.db"
# Use test file if necessary
if os.environ.get("ENVIRON") == "test":
if os.environ.get("ENVIRON", "test") == "test":
__db_name = "test_" + __db_name
__sqlitefile = __data_dir + __db_name