summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhu, Yongsheng <yongsheng.zhu@intel.com>2010-04-07 11:27:42 +0800
committerPatrick Ohly <patrick.ohly@intel.com>2010-04-07 08:19:02 +0200
commit049315184873044a35781716e1d3c52a69608e39 (patch)
treeecda76fd30e4e3c036f99b6ab1d895c5ce76df4b
parent9319882432608803ea58d0792ad0b2aade461be0 (diff)
test-dbus: change expected results of 'testSharedTypeOther' (MB#10448)
'type' of sources from a template should be preserved when using a context. Change the expected results of test case 'testSharedTypeOther'. This case is still failed due to MB#10443. It is expected to pass once that bug gets fixed.
-rwxr-xr-xtest/test-dbus.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-dbus.py b/test/test-dbus.py
index e026eb08..e39ef362 100755
--- a/test/test-dbus.py
+++ b/test/test-dbus.py
@@ -2119,12 +2119,12 @@ class TestMultipleConfigs(unittest.TestCase, DBusUtil):
# adding second client must preserve type
self.setUpSession("bar@other")
config = self.server.GetConfig("Funambol@other", True, utf8_strings=True)
- self.failUnlessEqual(config["source/addressbook"]["type"], "file:text/vcard:3.0")
+ self.failUnlessEqual(config["source/addressbook"]["type"], "addressbook")
self.session.SetConfig(False, False,
config,
utf8_strings=True)
config = self.server.GetConfig("bar", False, utf8_strings=True)
- self.failUnlessEqual(config["source/addressbook"]["type"], "file:text/vcard:3.0")
+ self.failUnlessEqual(config["source/addressbook"]["type"], "addressbook")
config = self.server.GetConfig("@other", False, utf8_strings=True)
self.failUnlessEqual(config["source/addressbook"]["type"], "file:text/vcard:3.0")