|
@@ -1476,7 +1476,7 @@ permissions: RrWw""")
|
|
|
# Disable syncing to disk for better performance
|
|
# Disable syncing to disk for better performance
|
|
|
"internal": {"filesystem_fsync": "False"},
|
|
"internal": {"filesystem_fsync": "False"},
|
|
|
"rights": {"file": rights_file_path,
|
|
"rights": {"file": rights_file_path,
|
|
|
- "type": "from_file"}}, "test")
|
|
|
|
|
|
|
+ "type": "from_file"}}, "test", internal=True)
|
|
|
self.application = Application(self.configuration)
|
|
self.application = Application(self.configuration)
|
|
|
|
|
|
|
|
def teardown(self):
|
|
def teardown(self):
|
|
@@ -1490,7 +1490,7 @@ class TestMultiFileSystem(BaseFileSystemTest, BaseRequestsMixIn):
|
|
|
def test_fsync(self):
|
|
def test_fsync(self):
|
|
|
"""Create a directory and file with syncing enabled."""
|
|
"""Create a directory and file with syncing enabled."""
|
|
|
self.configuration.update({
|
|
self.configuration.update({
|
|
|
- "internal": {"filesystem_fsync": "True"}}, "test")
|
|
|
|
|
|
|
+ "internal": {"filesystem_fsync": "True"}}, "test", internal=True)
|
|
|
self.application = Application(self.configuration)
|
|
self.application = Application(self.configuration)
|
|
|
status, _, _ = self.request("MKCALENDAR", "/calendar.ics/")
|
|
status, _, _ = self.request("MKCALENDAR", "/calendar.ics/")
|
|
|
assert status == 201
|
|
assert status == 201
|