~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_remote.py

(jelmer) Reduce the number of connections made during "bzr branch
 --stacked". (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
679
679
        # _get_tree_branch is a form of open_branch, but it should only ask for
680
680
        # branch opening, not any other network requests.
681
681
        calls = []
682
 
        def open_branch(name=None):
 
682
        def open_branch(name=None, possible_transports=None):
683
683
            calls.append("Called")
684
684
            return "a-branch"
685
685
        transport = MemoryTransport()