mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1) Added release note for v7.7
2) Added exception handling while removing the test database file.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user