diff --git a/tests/test_caldav.py b/tests/test_caldav.py index 13e5666..4f3b00a 100644 --- a/tests/test_caldav.py +++ b/tests/test_caldav.py @@ -617,6 +617,7 @@ def setup_method(self): self.caldav = client(**self.server_params) if self.check_compatibility_flag("rate_limited"): + def delay_decorator(f): def foo(*a, **kwa): time.sleep(60) @@ -2082,7 +2083,9 @@ def testTodoDatesearch(self): assert len(todos2) == foo ## verify that "expand" works - if not self.check_compatibility_flag("no_recurring") and not self.check_compatibility_flag("no_recurring_todo"): + if not self.check_compatibility_flag( + "no_recurring" + ) and not self.check_compatibility_flag("no_recurring_todo"): ## todo1 and todo2 should be the same (todo1 using legacy method) ## todo1 and todo2 tries doing server side expand, with fallback ## to client side expand