projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09cf1e2
)
test_dirnode.py: improve error messages in case timestamp tests fail
author
Brian Warner
<warner@allmydata.com>
Tue, 12 Feb 2008 00:37:51 +0000
(17:37 -0700)
committer
Brian Warner
<warner@allmydata.com>
Tue, 12 Feb 2008 00:37:51 +0000
(17:37 -0700)
src/allmydata/test/test_dirnode.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_dirnode.py
b/src/allmydata/test/test_dirnode.py
index 327e8b9e3617f920fafd7137c1f0a1cd6d15d38e..2cca9a49093766b478edb62a589a9b20f57073ca 100644
(file)
--- a/
src/allmydata/test/test_dirnode.py
+++ b/
src/allmydata/test/test_dirnode.py
@@
-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()