Add reason for db close

This commit is contained in:
shortcutme 2019-12-17 14:35:49 +01:00
parent d062f01127
commit 0839fdfc5e
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
2 changed files with 7 additions and 6 deletions

View file

@ -407,7 +407,7 @@ def db(request):
db.checkTables()
def stop():
db.close()
db.close("Test db cleanup")
os.unlink(db_path)
request.addfinalizer(stop)