~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_lockable_files.py

  • Committer: Robert Collins
  • Date: 2006-04-18 22:41:16 UTC
  • mto: (1711.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 1671.
  • Revision ID: robertc@robertcollins.net-20060418224116-9b723440fa56e404
 * 'Metadir' is now the default disk format. This improves behaviour in
   SFTP using circumstances and allows binding and rebinding and easier
   use of repositories. (Robert Collins, Aaron Bentley).

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
        super(TestLockableFiles_LockDir, self).setUp()
120
120
        self.transport = get_transport('.')
121
121
        self.lockable = LockableFiles(self.transport, 'my-lock', LockDir)
 
122
        # the lock creation here sets mode - test_permissions on branch 
 
123
        # tests that implicitly, but it might be a good idea to factor 
 
124
        # out the mode checking logic and have it applied to loackable files
 
125
        # directly. RBC 20060418
122
126
        self.lockable.create_lock()
123
127
 
124
128
    def test_lock_is_lockdir(self):