Test fsync

Enable syncing for at least one test.
Test for 5c2075cb6c.
This commit is contained in:
Unrud 2016-08-11 00:25:13 +02:00
parent 6d80b70b8c
commit 893051645e

View File

@ -744,6 +744,12 @@ class BaseRequestsMixIn:
status, headers, answer = self.request("PROPFIND", "/")
assert status == 207
def test_fsync(self):
"""Create a directory and file with syncing enabled."""
self.configuration.set("storage", "fsync", "True")
status, headers, answer = self.request("MKCALENDAR", "/calendar.ics/")
assert status == 201
class BaseFileSystemTest(BaseTest):
"""Base class for filesystem backend tests."""