~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/commands/test_pull.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-08-30 11:53:33 UTC
  • mfrom: (6110.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20110830115333-xfvpbyvf2q46duon
(jameinel) Bug #483661,
        do not reuse transports for the two branches involved in a pull in
        order to avoid concurrent requests over a smart medium like
        ssh. (Martin von Gagern)

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
        # We don't care about the ouput but 'outf' should be defined
55
55
        pull.outf = tests.StringIOWrapper()
56
56
        pull.run(self.get_url('remote'), directory='local')
57
 
        self.assertEquals(1, len(self.connections))
 
57
        self.assertEquals(2, len(self.connections))
58
58