1461
1461
self.assertEqual(expected_docstring, obj.__doc__)
1463
1464
def failUnlessExists(self, path):
1464
1468
"""Fail unless path or paths, which may be abs or relative, exist."""
1465
1469
if not isinstance(path, basestring):
1469
1473
self.assertTrue(osutils.lexists(path),
1470
1474
path + " does not exist")
1472
1477
def failIfExists(self, path):
1473
1481
"""Fail if path or paths, which may be abs or relative, exist."""
1474
1482
if not isinstance(path, basestring):
1478
1486
self.assertFalse(osutils.lexists(path),