~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_bzrdir/test_bzrdir.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-08-14 15:22:39 UTC
  • mfrom: (4523.4.21 1.18-lock-warnings)
  • Revision ID: pqm@pqm.ubuntu.com-20090814152239-m0ybwy7vfs32exeh
(jam) Update the test suite to cause failures when we take out
        multiple locks on the same file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
528
528
        self.assertEqual('1', target.open_branch().last_revision())
529
529
 
530
530
    def test_clone_bzrdir_tree_branch_repo(self):
 
531
        self.thisFailsStrictLockCheck()
531
532
        tree = self.make_branch_and_tree('source')
532
533
        self.build_tree(['source/foo'])
533
534
        tree.add('foo')
568
569
        self.assertEqual(target_repo._format, source_branch.repository._format)
569
570
 
570
571
    def test_revert_inventory(self):
 
572
        self.thisFailsStrictLockCheck()
571
573
        tree = self.make_branch_and_tree('source')
572
574
        self.build_tree(['source/foo'])
573
575
        tree.add('foo')
622
624
                                     ])
623
625
 
624
626
    def test_clone_bzrdir_tree_revision(self):
 
627
        self.thisFailsStrictLockCheck()
625
628
        # test for revision limiting, [smoke test, not corner case checks].
626
629
        # make a tree with a revision with a last-revision
627
630
        # and clone it with a revision limit.