/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

(mbp) stop using failIf, failUnless, etc (Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1466
1466
            for p in path:
1467
1467
                self.failUnlessExists(p)
1468
1468
        else:
1469
 
            self.failUnless(osutils.lexists(path),path+" does not exist")
 
1469
            self.assertTrue(osutils.lexists(path),
 
1470
                path + " does not exist")
1470
1471
 
1471
1472
    def failIfExists(self, path):
1472
1473
        """Fail if path or paths, which may be abs or relative, exist."""
1474
1475
            for p in path:
1475
1476
                self.failIfExists(p)
1476
1477
        else:
1477
 
            self.failIf(osutils.lexists(path),path+" exists")
 
1478
            self.assertFalse(osutils.lexists(path),
 
1479
                path + " exists")
1478
1480
 
1479
1481
    def _capture_deprecation_warnings(self, a_callable, *args, **kwargs):
1480
1482
        """A helper for callDeprecated and applyDeprecated.