Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tobixen committed Nov 17, 2022
1 parent 87f6d84 commit 1d4f30b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"coverage",
"tzlocal",
"pytz",
"xandikos<0.2.4",
"xandikos",
"radicale",
]

Expand Down Expand Up @@ -71,7 +71,7 @@
"requests",
"six",
"icalendar",
"recurring-ical-events",
"recurring-ical-events>=1.1.0b",
]
+ extra_packages,
tests_require=test_packages + extra_test_packages,
Expand Down
8 changes: 1 addition & 7 deletions tests/test_caldav.py
Original file line number Diff line number Diff line change
Expand Up @@ -1495,11 +1495,7 @@ def testTodoDatesearch(self):
## TODO: the conditions can be removed once
## https://github.com/niccokunzmann/python-recurring-ical-events/issues/97
## has been properly fixed
if (
not self.check_compatibility_flag("no_recurring_expandation")
and not self.check_compatibility_flag("no_expand")
and not self.check_compatibility_flag("no_recurring_todo_expand")
):
if not self.check_compatibility_flag("no_expand"):
assert len([x for x in todos if "DTSTART:20020415T1330" in x.data]) == 1

## exercise the default for expand (maybe -> False for open-ended search)
Expand Down Expand Up @@ -1976,8 +1972,6 @@ def testRecurringDateSearch(self):
## According to https://tools.ietf.org/html/rfc4791#section-7.8.3, the
## resultset should be one vcalendar with two events.
assert len(r) == 1

## not all servers supports expandation
assert "RRULE" not in r[0].data
assert r[0].data.count("END:VEVENT") == 2

Expand Down

0 comments on commit 1d4f30b

Please sign in to comment.