Skip to content

Commit

Permalink
bugfixing and xandikos compatibility matrix. xandikos now passes with…
Browse files Browse the repository at this point in the history
… same quirks reported by script
  • Loading branch information
tobixen committed Nov 18, 2024
1 parent ec0074d commit 689e486
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
6 changes: 5 additions & 1 deletion check_server_compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,11 @@ def check_mkcalendar(self):

makeret = self._try_make_calendar(name="Yep", cal_id="pythoncaldav-test")
if makeret[0]:
self._default_calendar = self.principal.make_calendar(name="Yep", cal_id="pythoncaldav-test")
try:
self._default_calendar = self.principal.make_calendar(name="Yep", cal_id="pythoncaldav-test")
except:
self._default_calendar = self.principal.calendar(cal_id="pythoncaldav-test")
self._default_calendar.events()
return
makeret = self._try_make_calendar(cal_id="pythoncaldav-test")
if makeret[0]:
Expand Down
17 changes: 13 additions & 4 deletions tests/compatibility_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,16 +228,25 @@

'text_search_is_exact_match_only',

## This one is fixed - but still breaks our test code for python 3.7
## TODO: remove this when shredding support for python 3.7
## https://github.com/jelmer/xandikos/pull/194
'category_search_yields_nothing',
"search_needs_comptype",

## scheduling is not supported
"no_scheduling",
]

## This can soon be removed (relevant for running tests under python 3.7 and python 3.8)
## https://github.com/jelmer/xandikos/pull/194
'category_search_yields_nothing',
try:
import xandikos.__version__ as xver
goodver = (0,2,12)
for i in range(0,2):
if xver[i]<goodver[i]:
xandikos.append('category_search_needs')
break
except Exception:
pass

radicale = [
## calendar listings and calendar creation works a bit
## "weird" on radicale
Expand Down

0 comments on commit 689e486

Please sign in to comment.