D-Bus testing: fixed session startup

The script incorrectly checked for "queuing" status instead
of "queueing" and thus did not wait correctly when the
session really took a while to become active.
This commit is contained in:
Patrick Ohly 2012-03-21 18:27:15 +01:00
parent c36bdea160
commit 9e0570e737
1 changed files with 1 additions and 1 deletions

View File

@ -649,7 +649,7 @@ class DBusUtil(Timeout):
sessionpath),
'org.syncevolution.Session')
status, error, sources = session.GetStatus(utf8_strings=True)
if wait and status == "queuing":
if wait and status == "queueing":
# wait for signal
loop.run()
self.assertEqual(DBusUtil.quit_events, ["session " + sessionpath + " ready"])