summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Brox <tobias@redpill-linpro.com>2021-03-11 00:03:54 +0100
committerTobias Brox <tobias@redpill-linpro.com>2021-03-11 00:03:54 +0100
commit0cfc3093bab0709aedf528ee7c736791fd90886a (patch)
tree086d803cfa266b19997e0e16040782927a669fae
parent471c0741ca13c3e4006104db6fa52c5acd6515d8 (diff)
downloadpython-caldav-0cfc3093bab0709aedf528ee7c736791fd90886a.zip
tests now passes for DAViCal
-rw-r--r--tests/compatibility_issues.py16
-rw-r--r--tests/test_caldav.py3
2 files changed, 8 insertions, 11 deletions
diff --git a/tests/compatibility_issues.py b/tests/compatibility_issues.py
index ddebf73..e1caf5c 100644
--- a/tests/compatibility_issues.py
+++ b/tests/compatibility_issues.py
@@ -125,10 +125,6 @@ xandikos = [
]
radicale = [
- ## The proxy test code needs to be rewritten
- ## ref https://github.com/python-caldav/caldav/issues/89
- "no_proxy",
-
## calendar listings and calendar creation works a bit
## "weird" on radicale
"no_default_calendar",
@@ -220,13 +216,13 @@ icloud = [
davical = [
#'nofreebusy', ## for old versions
'vtodo_datesearch_nodtstart_task_is_skipped',
- 'fragilesynctokens',
- 'nojournal' ## it threw a 500 internal server error!
+ 'fragile_sync_tokens',
+ 'no_journal' ## it threw a 500 internal server error!
]
google = [
- 'nomkcalendar',
- 'nooverwrite',
- 'notodo',
- 'norecurringexpandation'
+ 'no_mkcalendar',
+ 'no_overwrite',
+ 'no_todo',
+ 'no_recurring_expandation'
]
diff --git a/tests/test_caldav.py b/tests/test_caldav.py
index aef11de..b49845e 100644
--- a/tests/test_caldav.py
+++ b/tests/test_caldav.py
@@ -320,6 +320,7 @@ class RepeatedFunctionalTestsBaseClass(object):
def setup(self):
logging.debug("############## test setup")
self.incompatibilities = set()
+
for flag in self.server_params['incompatibilities']:
assert(flag in compatibility_issues.incompatibility_description)
self.incompatibilities.add(flag)
@@ -630,7 +631,7 @@ class RepeatedFunctionalTestsBaseClass(object):
## The modified object should be returned by the server
my_changed_objects = c.objects_by_sync_token(sync_token=my_changed_objects.sync_token, load_objects=True)
- if not self.check_compatibility_flag('fragile_sync_tokens'):
+ if self.check_compatibility_flag('fragile_sync_tokens'):
assert(len(list(my_changed_objects)) >= 1)
else:
assert_equal(len(list(my_changed_objects)), 1)