parent
6d80b70b8c
commit
893051645e
@ -744,6 +744,12 @@ class BaseRequestsMixIn:
|
|||||||
status, headers, answer = self.request("PROPFIND", "/")
|
status, headers, answer = self.request("PROPFIND", "/")
|
||||||
assert status == 207
|
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):
|
class BaseFileSystemTest(BaseTest):
|
||||||
"""Base class for filesystem backend tests."""
|
"""Base class for filesystem backend tests."""
|
||||||
|
Loading…
Reference in New Issue
Block a user