~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_workingtree/test_flush.py

  • Committer: Martin Pool
  • Date: 2009-08-28 04:13:16 UTC
  • mfrom: (4634.6.8 2.0)
  • mto: This revision was merged to the branch mainline in revision 4660.
  • Revision ID: mbp@sourcefrog.net-20090828041316-adcbxfnfpc4bjtpl
Merge 2.0 back to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
            tree.unlock()
32
32
 
33
33
    def test_flush_when_inventory_is_modified(self):
 
34
        # This takes a write lock on the source tree, then opens a second copy
 
35
        # and tries to grab a read lock, which is a bit bogus
 
36
        self.thisFailsStrictLockCheck()
34
37
        # when doing a flush the inventory should be written if needed.
35
38
        # we test that by changing the inventory (using
36
39
        # _set_inventory for now until add etc have lazy writes of