~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-07-25 14:01:28 UTC
  • mfrom: (6039.1.9 transport-from-url)
  • Revision ID: pqm@pqm.ubuntu.com-20110725140128-croovh96z0rs57yy
(jelmer) Add get_transport_from_url and get_transport_from_path functions.
 (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
424
424
    def test_empty_branch_api(self):
425
425
        """The branch_obj.push API should make a limited number of HPSS calls.
426
426
        """
427
 
        t = transport.get_transport(self.smart_server.get_url()).clone('target')
 
427
        t = transport.get_transport_from_url(self.smart_server.get_url()).clone('target')
428
428
        target = branch.Branch.open_from_transport(t)
429
429
        self.empty_branch.push(target)
430
430
        self.assertEqual(