~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2011-07-23 16:33:38 UTC
  • mto: This revision was merged to the branch mainline in revision 6045.
  • Revision ID: jelmer@samba.org-20110723163338-mjox55g52kt3u922
Add get_transport_from_url and get_transport_from_path functions.

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(