~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bzrdir.py

(jelmer) Merge colocated branch support back into the 2a format. (Jelmer
 Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1447
1447
        tree.bzrdir.create_branch(name="another-colocated-branch")
1448
1448
        converter = tree.bzrdir._format.get_converter(
1449
1449
            bzrdir.BzrDirMetaFormat1())
1450
 
        self.assertRaises(errors.BzrError, converter.convert, tree.bzrdir,
1451
 
            None)
 
1450
        result = converter.convert(tree.bzrdir, bzrdir.BzrDirMetaFormat1())
 
1451
        self.assertIsInstance(result._format, bzrdir.BzrDirMetaFormat1)
1452
1452
 
1453
1453
    def test_nested(self):
1454
1454
        tree = self.make_branch_and_tree('.', format='development-colo')