]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
setup: more verbose assertion failure in test_runner
authorZooko O'Whielacronx <zooko@zooko.com>
Thu, 29 Jan 2009 17:49:06 +0000 (10:49 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Thu, 29 Jan 2009 17:49:06 +0000 (10:49 -0700)
src/allmydata/test/test_runner.py

index 4a01be57987654f0fbe80922d072825d895f6c22..098d896463e68b2ea1cad78c9808bd59d3d6cd24 100644 (file)
@@ -24,7 +24,7 @@ class TheRightCode(unittest.TestCase, common_util.SignalMixin):
 
             # Fail unless the allmydata-tahoe package is *this* version *and* was loaded from *this* source directory.
             required_ver_and_path = "allmydata-tahoe: %s (%s)" % (allmydata.__version__, os.path.dirname(os.path.dirname(allmydata.__file__)))
-            self.failUnless(out.startswith(required_ver_and_path), (out, err, rc_or_sig))
+            self.failUnless(out.startswith(required_ver_and_path), (out, err, rc_or_sig, required_ver_and_path))
         d.addCallback(_cb)
         return d