From df8124ec9afe57c874e056640a8f9735030aef0e Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Sun, 15 Mar 2026 12:59:29 +0100 Subject: [PATCH] sharing/bday: extend testcase --- radicale/tests/test_sharing.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/radicale/tests/test_sharing.py b/radicale/tests/test_sharing.py index 55541188..ef595f41 100644 --- a/radicale/tests/test_sharing.py +++ b/radicale/tests/test_sharing.py @@ -4343,6 +4343,25 @@ permissions: RrWw""") assert path_shared_r + "contact3-with-bday.ics" in responses assert path_shared_r + "contact1.ics" not in responses + logging.info("\n*** PROPFIND collection entries user -> ok") + _, responses = self.propfind(path_shared_r, """\ + + + + + + + +""", login="user:userpw", HTTP_DEPTH="1") + logging.debug("resonses: %r", responses) + assert path_shared_r + "contact2-with-bday.ics" in responses + assert path_shared_r + "contact3-with-bday.ics" in responses + assert path_shared_r + "contact1.ics" not in responses + response = responses[path_shared_r + "contact2-with-bday.ics"] + assert not isinstance(response, int) + status, prop = response["D:getcontenttype"] + assert "vcard" not in prop.text + def test_sharing_api_bday_complex(self) -> None: """share-by-map API usage tests related to partial overlay.""" self.configure({"auth": {"type": "htpasswd",