1) Added release note for v7.7

2) Added exception handling while removing the test database file.
This commit is contained in:
Akshay Joshi
2023-08-25 11:14:54 +05:30
parent cd613ded0a
commit 77467209c2
3 changed files with 37 additions and 1 deletions

View File

@@ -954,7 +954,11 @@ def reset_layout_db(user_id=None):
def remove_db_file():
"""This function use to remove SQLite DB file"""
if os.path.isfile(config.TEST_SQLITE_PATH):
os.remove(config.TEST_SQLITE_PATH)
try:
os.remove(config.TEST_SQLITE_PATH)
except PermissionError:
# TODO: Added for issue 6164
pass
def _cleanup(tester, app_starter):