From 1c24abd4db5865da9e3ef41253674d6b1e8e38a7 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Wed, 16 Sep 2015 22:41:18 +0200 Subject: [PATCH] Extend testsuite for DAV metadata --- tests/storage/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/storage/__init__.py b/tests/storage/__init__.py index e945e75..afb18cf 100644 --- a/tests/storage/__init__.py +++ b/tests/storage/__init__.py @@ -263,5 +263,8 @@ class StorageTests(object): except exceptions.UnsupportedMetadataError: pass - s.set_meta('displayname', u'hello world') - assert s.get_meta('displayname') == u'hello world' + for x in (u'hello world', u'hello wörld'): + s.set_meta('displayname', x) + rv = s.get_meta('displayname') + assert rv == x + assert isinstance(rv, text_type)