mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
filesystem: missing metadata is handled correctly
This commit is contained in:
parent
8a6ad410da
commit
7d60c05b2b
1 changed files with 4 additions and 0 deletions
|
|
@ -268,6 +268,10 @@ class StorageTests(object):
|
||||||
if getattr(self, 'dav_server', '') == 'owncloud':
|
if getattr(self, 'dav_server', '') == 'owncloud':
|
||||||
pytest.skip('ownCloud is fundamentally broken.')
|
pytest.skip('ownCloud is fundamentally broken.')
|
||||||
|
|
||||||
|
if not getattr(self, 'dav_server', ''):
|
||||||
|
assert s.get_meta('color') is None
|
||||||
|
assert s.get_meta('displayname') is None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
s.set_meta('color', None)
|
s.set_meta('color', None)
|
||||||
assert s.get_meta('color') is None
|
assert s.get_meta('color') is None
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue