458
464
os.mkdir(os.path.join(TestCaseInTempDir.TEST_ROOT, '.bzr'))
463
470
short_id = self.id().replace('bzrlib.selftest.', '') \
464
471
.replace('__main__.', '')
465
472
self.test_dir = os.path.join(self.TEST_ROOT, short_id)
474
479
def build_tree(self, shape):
475
480
"""Build a test tree according to a pattern.