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:
Patrick Ohly 2009-12-01 15:09:16 +01:00
parent 099a311d42
commit 57659ed754

View file

@ -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")