test-dbus.py: adapted to new org.syncevolution.SourceUnusable
Since merging Jussi's GUI branch, this exception is thrown instead of a generic one. Test was still checking for the generic one.
This commit is contained in:
parent
099a311d42
commit
57659ed754
|
@ -833,8 +833,7 @@ class TestSessionAPIsDummy(unittest.TestCase, DBusUtil):
|
|||
self.session.CheckSource("memo", utf8_strings=True)
|
||||
except dbus.DBusException, ex:
|
||||
self.failUnlessEqual(str(ex),
|
||||
"org.syncevolution.Exception: The source 'memo' configuration "
|
||||
"is not correct")
|
||||
"org.syncevolution.SourceUnusable: The source 'memo' is not usable")
|
||||
else:
|
||||
self.fail("no exception thrown")
|
||||
|
||||
|
|
Loading…
Reference in a new issue