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
This commit is contained in:
parent
dc0083ba4d
commit
eb64356858
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue