This function use to remove SQLite DB file
()
| 1022 | |
| 1023 | |
| 1024 | def 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 | |
| 1034 | def _cleanup(tester, app_starter): |