test-dbus: Update testGetConfigsTemplates with new templates

This commit is contained in:
Chris Kühl 2011-06-27 13:37:55 +02:00 committed by Patrick Ohly
parent e7aff9c6a2
commit 6f0d3c3aa8
1 changed files with 13 additions and 10 deletions

View File

@ -678,16 +678,19 @@ class TestDBusServer(unittest.TestCase, DBusUtil):
"""read templates"""
configs = self.server.GetConfigs(True, utf8_strings=True)
configs.sort()
self.failUnlessEqual(configs, ["Funambol",
"Google",
"Goosync",
"Memotoo",
"Mobical",
"Oracle",
"Ovi",
"ScheduleWorld",
"SyncEvolution",
"Synthesis"])
self.assertEqual(configs, ["Funambol",
"Google_Calendar",
"Google_Contacts",
"Goosync",
"Memotoo",
"Mobical",
"Oracle",
"Ovi",
"ScheduleWorld",
"SyncEvolution",
"Synthesis",
"Yahoo",
"eGroupware"])
def testGetConfigScheduleWorld(self):
"""read ScheduleWorld template"""