~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2010-04-01 04:41:18 UTC
  • mto: This revision was merged to the branch mainline in revision 5128.
  • Revision ID: mbp@sourcefrog.net-20100401044118-shyctqc02ob08ngz
ignore .testrepository

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
                wt_child2.commit, 'child2', rev_id='r@d-2')
145
145
 
146
146
    def test_unbinding(self):
147
 
        from bzrlib import transport
 
147
        from bzrlib.transport import get_transport
148
148
        b_base, wt_child = self.create_branches()
149
149
 
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 = get_transport(self.get_url('.'))
154
154
 
155
155
        wt_base = b_base.bzrdir.open_workingtree()
156
156
        open('base/a', 'wb').write('new base contents\n')