Fix for findBinaryInPath test.

This commit is contained in:
Jeremy Fincher 2004-01-03 15:42:59 +00:00
parent c4a122da5a
commit 18b06dbb89

View File

@ -175,7 +175,7 @@ class UtilsTest(unittest.TestCase):
def testFindBinaryInPath(self):
if os.name == 'posix':
self.assertEqual(None, utils.findBinaryInPath('asdfhjklasdfhjkl'))
self.assertEqual('/bin/sh', utils.findBinaryInPath('sh'))
self.failUnless(utils.findBinaryInPath('sh').endswith('/bin/sh'))
def testCommaAndify(self):
L = ['foo']