mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Merge pull request #271 from untitaker/enable-owncloud
Revert "xfail owncloud, #255"
This commit is contained in:
commit
86d35c6d69
2 changed files with 8 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ env:
|
|||
- BUILD=test DAV_SERVER=radicale RADICALE_BACKEND=filesystem REQUIREMENTS=devel
|
||||
# Radicale-git with filesystem storage (default)
|
||||
|
||||
#- BUILD=test DAV_SERVER=owncloud REQUIREMENTS=release
|
||||
- BUILD=test DAV_SERVER=owncloud REQUIREMENTS=release
|
||||
# Latest ownCloud release
|
||||
|
||||
- BUILD=test DAV_SERVER=baikal REQUIREMENTS=release
|
||||
|
|
|
|||
|
|
@ -146,6 +146,9 @@ class StorageTests(object):
|
|||
assert list(s.list()) == [(href, etag)]
|
||||
|
||||
def test_has(self, s, get_item):
|
||||
if getattr(self, 'dav_server', '') == 'owncloud':
|
||||
# https://github.com/owncloud/calendar/issues/935
|
||||
pytest.skip('ownCloud is buggy.')
|
||||
assert not s.has('asd')
|
||||
href, etag = s.upload(get_item())
|
||||
assert s.has(href)
|
||||
|
|
@ -255,6 +258,10 @@ class StorageTests(object):
|
|||
assert urlquote(uid, '/@:') in href
|
||||
|
||||
def test_metadata(self, requires_metadata, s):
|
||||
# https://github.com/owncloud/core/issues/18409
|
||||
if getattr(self, 'dav_server', '') == 'owncloud':
|
||||
pytest.skip('ownCloud is fundamentally broken.')
|
||||
|
||||
try:
|
||||
s.set_meta('color', None)
|
||||
assert s.get_meta('color') is None
|
||||
|
|
|
|||
Loading…
Reference in a new issue