test_scripts: make found-wrong-wormhole error more verbose

This commit is contained in:
Brian Warner 2015-09-26 18:17:50 -07:00
parent be124e686a
commit 5ee37cab64

View File

@ -17,8 +17,8 @@ class Scripts(ServerBase, unittest.TestCase):
if not os.path.abspath(wormhole).startswith(here):
log.msg("locations: %s" % (locations,))
log.msg("here: %s" % (here,))
raise unittest.SkipTest("found the wrong 'wormhole' in $PATH: %s"
% wormhole)
raise unittest.SkipTest("found the wrong 'wormhole' in $PATH: %s %s"
% (wormhole, locations))
return wormhole
def test_version(self):