mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Merge pull request #366 from untitaker/remove-baikal-xfail
Remove old Baikal xfails
This commit is contained in:
commit
4ff0680092
2 changed files with 2 additions and 14 deletions
|
|
@ -199,8 +199,8 @@ Baikal
|
||||||
|
|
||||||
Vdirsyncer is continuously tested against the latest version of Baikal_.
|
Vdirsyncer is continuously tested against the latest version of Baikal_.
|
||||||
|
|
||||||
- Baikal up to ``0.2.7`` also uses an old version of SabreDAV, with the same issue as
|
- Baikal up to ``0.2.7`` also uses an old version of SabreDAV, with the same
|
||||||
ownCloud, see :gh:`160`.
|
issue as ownCloud, see :gh:`160`. This issue is fixed in later versions.
|
||||||
|
|
||||||
.. _Baikal: http://baikal-server.com/
|
.. _Baikal: http://baikal-server.com/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -94,10 +94,6 @@ class StorageTests(object):
|
||||||
assert etag2 == etag
|
assert etag2 == etag
|
||||||
|
|
||||||
def test_upload_already_existing(self, s, get_item):
|
def test_upload_already_existing(self, s, get_item):
|
||||||
if getattr(self, 'dav_server', '') == 'baikal':
|
|
||||||
# https://github.com/untitaker/vdirsyncer/issues/160
|
|
||||||
pytest.xfail(reason='Baikal uses an old version of SabreDAV.')
|
|
||||||
|
|
||||||
item = get_item()
|
item = get_item()
|
||||||
s.upload(item)
|
s.upload(item)
|
||||||
with pytest.raises(exceptions.PreconditionFailed):
|
with pytest.raises(exceptions.PreconditionFailed):
|
||||||
|
|
@ -120,19 +116,11 @@ class StorageTests(object):
|
||||||
assert_item_equals(s.get(href)[0], new_item)
|
assert_item_equals(s.get(href)[0], new_item)
|
||||||
|
|
||||||
def test_update_nonexisting(self, s, get_item):
|
def test_update_nonexisting(self, s, get_item):
|
||||||
if getattr(self, 'dav_server', '') == 'baikal':
|
|
||||||
# https://github.com/untitaker/vdirsyncer/issues/160
|
|
||||||
pytest.xfail(reason='Baikal uses an old version of SabreDAV.')
|
|
||||||
|
|
||||||
item = get_item()
|
item = get_item()
|
||||||
with pytest.raises(exceptions.PreconditionFailed):
|
with pytest.raises(exceptions.PreconditionFailed):
|
||||||
s.update('huehue', item, '"123"')
|
s.update('huehue', item, '"123"')
|
||||||
|
|
||||||
def test_wrong_etag(self, s, get_item):
|
def test_wrong_etag(self, s, get_item):
|
||||||
if getattr(self, 'dav_server', '') == 'baikal':
|
|
||||||
# https://github.com/untitaker/vdirsyncer/issues/160
|
|
||||||
pytest.xfail(reason='Baikal uses an old version of SabreDAV.')
|
|
||||||
|
|
||||||
item = get_item()
|
item = get_item()
|
||||||
href, etag = s.upload(item)
|
href, etag = s.upload(item)
|
||||||
with pytest.raises(exceptions.PreconditionFailed):
|
with pytest.raises(exceptions.PreconditionFailed):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue