mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-04 18:22:26 +00:00
parent
6d80b70b8c
commit
893051645e
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue