From ed849a727136ea29269c5dfff65dce749dc8cee0 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Sun, 16 Nov 2025 16:06:26 +0100 Subject: [PATCH] add support for optional arguments --- radicale/tests/test_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radicale/tests/test_base.py b/radicale/tests/test_base.py index c13c8725..944243e2 100644 --- a/radicale/tests/test_base.py +++ b/radicale/tests/test_base.py @@ -1687,7 +1687,7 @@ permissions: RrWw""") """, 400, is_xml=False) def _report_sync_token( - self, calendar_path: str, sync_token: Optional[str] = None + self, calendar_path: str, sync_token: Optional[str] = None, **kwargs ) -> Tuple[str, RESPONSES]: sync_token_xml = ( "" % sync_token @@ -1699,7 +1699,7 @@ permissions: RrWw""") %s -""" % sync_token_xml) +""" % sync_token_xml, **kwargs) xml = DefusedET.fromstring(answer) if status in (403, 409): assert xml.tag == xmlutils.make_clark("D:error")