test RFC4791#5.2.5: SHOULD NOT be returned by a PROPFIND DAV:allprop request

This commit is contained in:
Peter Bieringer
2025-12-12 08:49:23 +01:00
parent a7e9521b38
commit 81b3c28737

View File

@@ -692,11 +692,13 @@ permissions: RrWw""")
assert not isinstance(response, int)
status, prop = response["D:sync-token"]
assert status == 200 and prop.text
assert "C:max-resource-size" not in response
_, responses = self.propfind("/calendar.ics/event.ics", propfind)
response = responses["/calendar.ics/event.ics"]
assert not isinstance(response, int)
status, prop = response["D:getetag"]
assert status == 200 and prop.text
assert "C:max-resource-size" not in response
def test_propfind_nonexistent(self) -> None:
"""Read a property that does not exist."""