~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_lockdir.py

  • Committer: John Arbash Meinel
  • Date: 2007-12-17 15:17:28 UTC
  • mto: This revision was merged to the branch mainline in revision 3121.
  • Revision ID: john@arbash-meinel.com-20071217151728-0ce4m40iq9pd983d
feedback from Martin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
597
597
 
598
598
    def test_lock_permission(self):
599
599
        if not osutils.supports_posix_readonly():
600
 
            raise tests.TestNotApplicable('Cannot induce a permission failure')
 
600
            raise tests.TestSkipped('Cannot induce a permission failure')
601
601
        ld1 = self.get_lock()
602
602
        lock_path = ld1.transport.local_abspath('test_lock')
603
603
        os.mkdir(lock_path)