mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-09 11:51:21 +00:00
setup: more verbose assertion failure in test_runner
This commit is contained in:
parent
681d3bfd05
commit
f0682cf43e
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user