/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_bound_sftp.py

  • Committer: Vincent Ladeuil
  • Date: 2011-01-27 14:27:18 UTC
  • mto: (5609.10.1 2.3b5-dev)
  • mto: This revision was merged to the branch mainline in revision 5635.
  • Revision ID: v.ladeuil+lp@free.fr-20110127142718-1ik7fyjfflgj91j5
Use self.get_transport instead of transport.get_transport where possible.

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
        # TestCaseWithSFTPServer only allows you to connect one time
151
151
        # to the SFTP server. So we have to create a connection and
152
152
        # keep it around, so that it can be reused
153
 
        __unused_t = transport.get_transport(self.get_url('.'))
 
153
        __unused_t = self.get_transport()
154
154
 
155
155
        wt_base = b_base.bzrdir.open_workingtree()
156
156
        open('base/a', 'wb').write('new base contents\n')