D-Bus testing: adapted to fully implemented GetConfigs()
Now that GetConfigs() correctly returns the actual templates list instead of a hard-coded "google", the test had to be adapted.
This commit is contained in:
parent
a3bf147726
commit
999a0c6099
|
@ -164,7 +164,14 @@ class TestDBusServer(unittest.TestCase, DBusUtil):
|
|||
def testGetConfigsTemplates(self):
|
||||
"""read templates"""
|
||||
configs = self.server.GetConfigs(True, utf8_strings=True)
|
||||
self.failUnlessEqual(configs, ["google"])
|
||||
configs.sort()
|
||||
self.failUnlessEqual(configs, ["Funambol",
|
||||
"Google",
|
||||
"Memotoo",
|
||||
"Mobical",
|
||||
"ScheduleWorld",
|
||||
"Synthesis",
|
||||
"ZYB"])
|
||||
|
||||
def testGetConfigScheduleWorld(self):
|
||||
"""read ScheduleWorld template"""
|
||||
|
|
Loading…
Reference in New Issue