]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_dirnode.py: improve error messages in case timestamp tests fail
authorBrian Warner <warner@allmydata.com>
Tue, 12 Feb 2008 00:37:51 +0000 (17:37 -0700)
committerBrian Warner <warner@allmydata.com>
Tue, 12 Feb 2008 00:37:51 +0000 (17:37 -0700)
src/allmydata/test/test_dirnode.py

index 327e8b9e3617f920fafd7137c1f0a1cd6d15d38e..2cca9a49093766b478edb62a589a9b20f57073ca 100644 (file)
@@ -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()