mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Skip davical test skipper
This commit is contained in:
parent
991076d12a
commit
2d0527ecf0
1 changed files with 3 additions and 1 deletions
|
|
@ -10,13 +10,15 @@ try:
|
||||||
'url': 'https://brutus.lostpackets.de/davical-test/caldav.php/',
|
'url': 'https://brutus.lostpackets.de/davical-test/caldav.php/',
|
||||||
}
|
}
|
||||||
except KeyError as e:
|
except KeyError as e:
|
||||||
pytestmark = pytest.mark.skip('Missing envkey: {}'.format(str(e)))
|
caldav_args = None
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.flaky(reruns=5)
|
@pytest.mark.flaky(reruns=5)
|
||||||
class ServerMixin(object):
|
class ServerMixin(object):
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def davical_args(self):
|
def davical_args(self):
|
||||||
|
if caldav_args is None:
|
||||||
|
pytest.skip('Missing envkeys for davical')
|
||||||
if self.storage_class.fileext == '.ics':
|
if self.storage_class.fileext == '.ics':
|
||||||
return dict(caldav_args)
|
return dict(caldav_args)
|
||||||
elif self.storage_class.fileext == '.vcf':
|
elif self.storage_class.fileext == '.vcf':
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue