test-dbus: fix 2 issues of test-dbus.py

1) change the order of the reference templates
2) change the sync mode to 'slow' to prevent sync
error.
This commit is contained in:
Zhu, Yongsheng 2010-03-30 14:16:57 +08:00 committed by Patrick Ohly
parent 15c581f830
commit af800555bb
1 changed files with 2 additions and 2 deletions

View File

@ -546,8 +546,8 @@ class TestDBusServer(unittest.TestCase, DBusUtil):
"Goosync",
"Memotoo",
"Mobical",
"Ovi",
"Oracle",
"Ovi",
"ScheduleWorld",
"SyncEvolution",
"Synthesis",
@ -1578,7 +1578,7 @@ class TestSessionAPIsReal(unittest.TestCase, DBusUtil):
def doSync(self):
self.setupConfig()
self.setUpListeners(self.sessionpath)
self.session.Sync("", {})
self.session.Sync("slow", {})
loop.run()
self.failUnlessEqual(DBusUtil.quit_events, ["session " + self.sessionpath + " done"])