diff --git a/radicale/tests/static/propfind1.xml b/radicale/tests/static/propfind1.xml
new file mode 100644
index 0000000..1535f7f
--- /dev/null
+++ b/radicale/tests/static/propfind1.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/radicale/tests/static/proppatch1.xml b/radicale/tests/static/proppatch1.xml
new file mode 100644
index 0000000..c549dec
--- /dev/null
+++ b/radicale/tests/static/proppatch1.xml
@@ -0,0 +1,8 @@
+
+
+
+
+ #BADA55
+
+
+
\ No newline at end of file
diff --git a/radicale/tests/test_base.py b/radicale/tests/test_base.py
index 05d45e7..4ae2168 100644
--- a/radicale/tests/test_base.py
+++ b/radicale/tests/test_base.py
@@ -213,6 +213,23 @@ class BaseRequestsMixIn:
assert "href>%s" % calendar_path in answer
assert "href>%s" % event_path in answer
+ def test_proppatch(self):
+ """Write a property and read it back."""
+ self.request("MKCALENDAR", "/calendar.ics/")
+ proppatch = get_file_content("proppatch1.xml")
+ status, headers, answer = self.request(
+ "PROPPATCH", "/calendar.ics/", proppatch)
+ assert status == 207
+ assert "calendar-color" in answer
+ assert "200 OK#BADA55" in answer
+ assert "200 OK