~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_lockable_files.py

MergeĀ fromĀ jam-storage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
        transport = get_transport('.')
28
28
        transport.mkdir('.bzr')
29
29
        transport.put('.bzr/my-lock', StringIO(''))
30
 
        self.lockable = LockableFiles(transport, '.bzr', 'my-lock')
 
30
        self.lockable = LockableFiles(transport.clone('.bzr'), 'my-lock')
31
31
 
32
32
    def test_read_write(self):
33
33
        self.assertRaises(NoSuchFile, self.lockable.controlfile, 'foo')