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:
parent
15c581f830
commit
af800555bb
|
@ -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"])
|
||||
|
||||
|
|
Loading…
Reference in New Issue