MCPcopy Index your code
hub / github.com/pgadmin-org/pgadmin4 / remove_db_file

Function remove_db_file

web/regression/python_test_utils/test_utils.py:1024–1031  ·  view source on GitHub ↗

This function use to remove SQLite DB file

()

Source from the content-addressed store, hash-verified

1022
1023
1024def remove_db_file():
1025 """This function use to remove SQLite DB file"""
1026 if os.path.isfile(config.TEST_SQLITE_PATH):
1027 try:
1028 os.remove(config.TEST_SQLITE_PATH)
1029 except PermissionError:
1030 # TODO: Added for issue 6164
1031 pass
1032
1033
1034def _cleanup(tester, app_starter):

Callers 1

_cleanupFunction · 0.85

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected