From dab6388cc7162dfdb5cde8951a0b3923a2829f47 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Thu, 17 Sep 2015 11:34:03 +0200 Subject: [PATCH 1/3] Revert "xfail owncloud, #255" This reverts commit 565ef2e96e724efe052b695790667ebc3a6b4f87. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bd7a0ae..a0cd24c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 From 029f5e3eeeba5df37cdf06a29d4c4081f4c5e831 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Thu, 17 Sep 2015 11:41:23 +0200 Subject: [PATCH 2/3] Just skip meta tests for ownCloud for now --- tests/storage/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/storage/__init__.py b/tests/storage/__init__.py index afb18cf..2397e90 100644 --- a/tests/storage/__init__.py +++ b/tests/storage/__init__.py @@ -255,6 +255,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 From b5e36ec3b22329a568f07b8f5b77eccb14b7e362 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Sun, 20 Sep 2015 02:14:30 +0200 Subject: [PATCH 3/3] Skip DAV tests on ownCloud for now --- tests/storage/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/storage/__init__.py b/tests/storage/__init__.py index 2397e90..26a570a 100644 --- a/tests/storage/__init__.py +++ b/tests/storage/__init__.py @@ -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)