~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Merge bound branch test performance improvements.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
import os
21
21
 
22
 
 
 
22
import bzrlib
23
23
from bzrlib.branch import Branch
24
24
from bzrlib.bzrdir import (BzrDir,
25
25
                           BzrDirFormat,
56
56
 
57
57
        return b_base, wt_child
58
58
 
 
59
    def tearDown(self):
 
60
        self.sftp_base = None
 
61
        bzrlib.transport.sftp.clear_connection_cache()
 
62
        super(BoundSFTPBranch, self).tearDown()
 
63
 
59
64
    def test_simple_binding(self):
60
65
        self.build_tree(['base/', 'base/a', 'base/b', 'child/'])
61
66
        wt_base = BzrDir.create_standalone_workingtree('base')