Skip to content

Commit bf06e09

Browse files
committed
require latest version of xandikos
1 parent 8173ee3 commit bf06e09

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ test = [
7979
"manuel",
8080
"proxy.py",
8181
"tzlocal",
82-
"xandikos>=0.2.12",
82+
"xandikos>=0.3.4",
8383
"radicale",
8484
"pyfakefs",
8585
"httpx",

tests/test_caldav.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ def setup_method(self):
762762

763763
foo = self.is_supported("rate-limit", dict)
764764
if foo.get("enable"):
765-
rate_delay = foo["interval"] / foo["count"]
765+
rate_delay = foo.get("interval", 0) / foo.get("count", 1)
766766
self.caldav.request = _delay_decorator(self.caldav.request, t=rate_delay)
767767
foo = self.is_supported("search-cache", dict)
768768
if foo.get("behaviour") == "delay":

0 commit comments

Comments
 (0)