瀏覽代碼

Enable close_lock_file for tests

Unrud 9 年之前
父節點
當前提交
7a01f905de
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      radicale/tests/test_base.py

+ 2 - 0
radicale/tests/test_base.py

@@ -813,6 +813,8 @@ class BaseFileSystemTest(BaseTest):
         self.configuration.set("storage", "filesystem_folder", self.colpath)
         # Disable syncing to disk for better performance
         self.configuration.set("storage", "fsync", "False")
+        # Required on Windows, doesn't matter on Unix
+        self.configuration.set("storage", "close_lock_file", "True")
         self.application = Application(self.configuration, self.logger)
 
     def teardown(self):