~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_rename_map.py

  • Committer: Vincent Ladeuil
  • Date: 2009-05-08 17:29:33 UTC
  • mfrom: (4327.1.6 failing-lock-tests)
  • mto: This revision was merged to the branch mainline in revision 4347.
  • Revision ID: v.ladeuil+lp@free.fr-20090508172933-b9855z2ru1ul9gwh
Fix some lock-related test failures

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
        """When a directory has been moved, its children are preserved."""
151
151
        tree = self.make_branch_and_tree('tree')
152
152
        tree.lock_write()
 
153
        self.addCleanup(tree.unlock)
153
154
        self.build_tree_contents([('tree/foo/', ''),
154
155
                                  ('tree/foo/bar', 'bar'),
155
156
                                  ('tree/foo/empty', '')])