~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_lockable_files.py

(gz) Fix test failure on alpha by correcting format string for
 gc_chk_sha1_record (Martin [gz])

Show diffs side-by-side

added added

removed removed

Lines of Context:
273
273
 
274
274
    def setUp(self):
275
275
        TestCaseInTempDir.setUp(self)
276
 
        t = transport.get_transport_from_path('.')
 
276
        t = transport.get_transport('.')
277
277
        t.mkdir('.bzr')
278
278
        self.sub_transport = t.clone('.bzr')
279
279
        self.lockable = self.get_lockable()
298
298
 
299
299
    def setUp(self):
300
300
        TestCaseInTempDir.setUp(self)
301
 
        self.transport = transport.get_transport_from_path('.')
 
301
        self.transport = transport.get_transport('.')
302
302
        self.lockable = self.get_lockable()
303
303
        # the lock creation here sets mode - test_permissions on branch
304
304
        # tests that implicitly, but it might be a good idea to factor
341
341
        # in test_remote and test_smart as usual.
342
342
        b = self.make_branch('foo')
343
343
        self.addCleanup(b.bzrdir.transport.disconnect)
344
 
        self.transport = transport.get_transport_from_path('.')
 
344
        self.transport = transport.get_transport('.')
345
345
        self.lockable = self.get_lockable()
346
346
 
347
347
    def get_lockable(self):