From: Zooko O'Whielacronx Date: Thu, 29 Jan 2009 17:49:06 +0000 (-0700) Subject: setup: more verbose assertion failure in test_runner X-Git-Tag: allmydata-tahoe-1.3.0~124 X-Git-Url: https://git.rkrishnan.org/pf/content/en/footer/statistics?a=commitdiff_plain;h=f0682cf43ebdb30dad0cbaca3dad186cd1e3c2e0;p=tahoe-lafs%2Ftahoe-lafs.git setup: more verbose assertion failure in test_runner --- diff --git a/src/allmydata/test/test_runner.py b/src/allmydata/test/test_runner.py index 4a01be57..098d8964 100644 --- a/src/allmydata/test/test_runner.py +++ b/src/allmydata/test/test_runner.py @@ -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