mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Replace a few skips with xfails
This commit is contained in:
parent
fc3e823b6b
commit
d16721cde8
2 changed files with 8 additions and 5 deletions
|
|
@ -227,7 +227,7 @@ class StorageTests(object):
|
||||||
def test_specialchars(self, monkeypatch, requires_collections,
|
def test_specialchars(self, monkeypatch, requires_collections,
|
||||||
get_storage_args, get_item):
|
get_storage_args, get_item):
|
||||||
if getattr(self, 'dav_server', '') == 'radicale':
|
if getattr(self, 'dav_server', '') == 'radicale':
|
||||||
pytest.skip('Radicale is fundamentally broken.')
|
pytest.xfail('Radicale is fundamentally broken.')
|
||||||
|
|
||||||
monkeypatch.setattr('vdirsyncer.utils.generate_href', lambda x: x)
|
monkeypatch.setattr('vdirsyncer.utils.generate_href', lambda x: x)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
import pytest
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
import requests.exceptions
|
import requests.exceptions
|
||||||
|
|
||||||
|
|
@ -41,10 +43,11 @@ class DavStorageTests(ServerMixin, StorageTests):
|
||||||
monkeypatch.undo()
|
monkeypatch.undo()
|
||||||
|
|
||||||
def test_dav_unicode_href(self, s, get_item, monkeypatch):
|
def test_dav_unicode_href(self, s, get_item, monkeypatch):
|
||||||
if self.dav_server != 'radicale':
|
if self.dav_server == 'radicale':
|
||||||
# Radicale is unable to deal with unicode hrefs
|
pytest.xfail('Radicale is unable to deal with unicode hrefs')
|
||||||
monkeypatch.setattr(s, '_get_href',
|
|
||||||
lambda item: item.ident + s.fileext)
|
monkeypatch.setattr(s, '_get_href',
|
||||||
|
lambda item: item.ident + s.fileext)
|
||||||
item = get_item(uid=u'lolätvdirsynceröü град сатану')
|
item = get_item(uid=u'lolätvdirsynceröü град сатану')
|
||||||
href, etag = s.upload(item)
|
href, etag = s.upload(item)
|
||||||
item2, etag2 = s.get(href)
|
item2, etag2 = s.get(href)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue