~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bzrdir.py

  • Committer: Jelmer Vernooij
  • Date: 2011-11-04 16:10:43 UTC
  • mto: This revision was merged to the branch mainline in revision 6240.
  • Revision ID: jelmer@samba.org-20111104161043-zer40iaiqlvf8l9a
Create lock directories in .bzr/, not .

Show diffs side-by-side

added added

removed removed

Lines of Context:
1430
1430
            bzrdir.BzrDirMetaFormat1())
1431
1431
        self.assertRaises(errors.BzrError, converter.convert, tree.bzrdir,
1432
1432
            None)
 
1433
 
 
1434
    def test_no_leftover_dirs(self):
 
1435
        # bug 886196: development-colo uses a branch-lock directory
 
1436
        # in the user directory rather than the control directory.
 
1437
        tree = self.make_branch_and_tree('.', format='development-colo')
 
1438
        tree.bzrdir.create_branch(name="another-colocated-branch")
 
1439
        self.assertEquals(os.listdir("."), [".bzr"])