mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-19 03:06:33 +00:00
test_dirnode.py: improve error messages in case timestamp tests fail
This commit is contained in:
parent
09cf1e2a8a
commit
5f50543c3b
@ -159,10 +159,10 @@ class Dirnode(unittest.TestCase, testutil.ShouldFailMixin):
|
||||
return d
|
||||
|
||||
def failUnlessGreaterThan(self, a, b):
|
||||
self.failUnless(a > b, "%s should be > %s" % (a, b))
|
||||
self.failUnless(a > b, "%r should be > %r" % (a, b))
|
||||
|
||||
def failUnlessGreaterOrEqualThan(self, a, b):
|
||||
self.failUnless(a >= b, "%s should be >= %s" % (a, b))
|
||||
self.failUnless(a >= b, "%r should be >= %r" % (a, b))
|
||||
|
||||
def stall(self, res, delay=1.0):
|
||||
d = defer.Deferred()
|
||||
|
Loading…
Reference in New Issue
Block a user