소스 검색

fix: ignore errors when cleaning up fs repository files

Joao Andre 1 년 전
부모
커밋
c00809f046
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      tests/rest/conftest.py

+ 3 - 1
tests/rest/conftest.py

@@ -312,4 +312,6 @@ def create_job_list():
 def cleanup_files():
     Config.unblock_update()
     if os.path.exists(".data"):
-        shutil.rmtree(".data")
+        shutil.rmtree(".data", ignore_errors=True)
+    if os.path.exists(".my_data"):
+        shutil.rmtree(".my_data", ignore_errors=True)