Skip to content

Commit

Permalink
fixup! more efforts on getting the tests to pass reliably
Browse files Browse the repository at this point in the history
  • Loading branch information
tobixen committed Nov 4, 2024
1 parent 871268c commit d365b41
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_caldav.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d365b41

Please sign in to comment.