From 91cee5e5146b43723bf547f959211a52b3df6419 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Sun, 16 Nov 2025 17:02:31 +0100 Subject: [PATCH] extend test with remote host+useragent --- 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 5512ef9d..8eff78d5 100644 --- a/radicale/tests/test_base.py +++ b/radicale/tests/test_base.py @@ -1848,12 +1848,12 @@ permissions: RrWw""") assert not sync_token def test_report_sync_collection_invalid_sync_token_with_user(self) -> None: - """Test sync-collection report with an invalid sync token and user""" + """Test sync-collection report with an invalid sync token and user+host+useragent""" self.configure({"auth": {"type": "none"}}) calendar_path = "/calendar.ics/" self.mkcalendar(calendar_path) sync_token, _ = self._report_sync_token( - calendar_path, "http://radicale.org/ns/sync/INVALID", login="testuser:") + calendar_path, "http://radicale.org/ns/sync/INVALID", login="testuser:", remote_host = "192.0.2.1", remote_useragent = "Testclient/1.0") assert not sync_token def test_propfind_sync_token(self) -> None: