test-dbus.py: fixed Python syntax error in last commit

Single quotation marks inside the string terminated the string
prematurely.
This commit is contained in:
Patrick Ohly 2010-08-25 10:30:24 +02:00
parent 502cdec73a
commit c7be6f1c49
1 changed files with 1 additions and 1 deletions

View File

@ -1791,7 +1791,7 @@ class TestConnection(unittest.TestCase, DBusUtil):
connection.Process('1234', 'invalid message type')
except dbus.DBusException, ex:
self.failUnlessEqual(str(ex),
'org.syncevolution.Exception: message type 'invalid message type' not supported for starting a sync')
"org.syncevolution.Exception: message type 'invalid message type' not supported for starting a sync")
else:
self.fail("no exception thrown")
loop.run()