~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_lockdir.py

  • Committer: Jonathan Riddell
  • Date: 2011-09-16 11:13:47 UTC
  • mto: This revision was merged to the branch mainline in revision 6144.
  • Revision ID: jriddell@canonical.com-20110916111347-fyjk426bkl0jrbfu
gettext() show_warning usage

Show diffs side-by-side

added added

removed removed

Lines of Context:
463
463
    def test_lock_with_buggy_rename(self):
464
464
        # test that lock acquisition handles servers which pretend they
465
465
        # renamed correctly but that actually fail
466
 
        t = transport.get_transport('brokenrename+' + self.get_url())
 
466
        t = transport.get_transport_from_url(
 
467
            'brokenrename+' + self.get_url())
467
468
        ld1 = LockDir(t, 'test_lock')
468
469
        ld1.create()
469
470
        ld1.attempt_lock()