~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Robert Collins
  • Date: 2005-11-28 08:33:47 UTC
  • Revision ID: robertc@robertcollins.net-20051128083347-e792ce37b3ecd5a0
Unbreak self.build_tree_shape in tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
import bzrlib.branch
31
31
import bzrlib.commands
 
32
from bzrlib.errors import BzrError
32
33
import bzrlib.inventory
33
34
import bzrlib.merge3
34
35
import bzrlib.osutils
38
39
import bzrlib.trace
39
40
from bzrlib.trace import mutter
40
41
from bzrlib.tests.TestUtil import TestLoader, TestSuite
41
 
from bzrlib.errors import BzrError
 
42
from bzrlib.tests.treeshape import build_tree_contents
42
43
 
43
44
MODULES_TO_TEST = []
44
45
MODULES_TO_DOCTEST = [
540
541
                f.close()
541
542
 
542
543
    def build_tree_contents(self, shape):
543
 
        bzrlib.tests.build_tree_contents(shape)
 
544
        build_tree_contents(shape)
544
545
 
545
546
    def failUnlessExists(self, path):
546
547
        """Fail unless path, which may be abs or relative, exists."""