瀏覽代碼

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)