~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/__init__.py

- annotate improvements from Goffreddo, with extra bug fixes and tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
import bzrlib.osutils as osutils
34
34
from bzrlib.selftest import TestUtil
35
35
from bzrlib.selftest.TestUtil import TestLoader, TestSuite
36
 
 
 
36
from bzrlib.selftest.treeshape import build_tree_contents
37
37
 
38
38
MODULES_TO_TEST = []
39
39
MODULES_TO_DOCTEST = []
422
422
                print >>f, "contents of", name
423
423
                f.close()
424
424
 
 
425
    def build_tree_contents(self, shape):
 
426
        bzrlib.selftest.build_tree_contents(shape)
 
427
 
425
428
    def failUnlessExists(self, path):
426
429
        """Fail unless path, which may be abs or relative, exists."""
427
430
        self.failUnless(osutils.lexists(path))