extend test with remote host+useragent
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user