From eb643568581453d65bc1a58c7542f7a82b83d91d Mon Sep 17 00:00:00 2001 From: Jean Raby Date: Wed, 15 Feb 2012 18:14:19 +0000 Subject: [PATCH] Verbose error if the assertion fails Monotone-Parent: e18b5ae2235fde5d7f7f569ead8452a2217d9b5c Monotone-Revision: 057f323db2fa6be4670dc58350ff09cbbc11113b Monotone-Author: jraby@inverse.ca Monotone-Date: 2012-02-15T18:14:19 Monotone-Branch: ca.inverse.sogo --- Tests/Integration/test-webdavsync.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tests/Integration/test-webdavsync.py b/Tests/Integration/test-webdavsync.py index d26ec93fe..0ae9432c1 100755 --- a/Tests/Integration/test-webdavsync.py +++ b/Tests/Integration/test-webdavsync.py @@ -51,7 +51,8 @@ class WebdavSyncTest(unittest.TestCase): token = int(token_node.text) self.assertTrue(token > 0) - self.assertTrue(token <= int(query1.start)) + self.assertTrue(token <= int(query1.start), + "token = %d > query.start = %d" % (token, int(query1.start))) # we make sure that any token is acceoted when the collection is # empty, but that the returned token differs