~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-08-20 22:42:34 UTC
  • mfrom: (6083.1.2 more-get-transport-from)
  • Revision ID: pqm@pqm.ubuntu.com-20110820224234-l0c0cmesdnfp2srq
(jelmer) Use get_transport_from_path and get_transport_from_url in more
 places. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
            backing_transport = tests.TestCaseWithTransport.get_transport(self)
86
86
            self._chroot_server = chroot.ChrootServer(backing_transport)
87
87
            self.start_server(self._chroot_server)
88
 
        t = transport.get_transport(self._chroot_server.get_url())
 
88
        t = transport.get_transport_from_url(self._chroot_server.get_url())
89
89
        if relpath is not None:
90
90
            t = t.clone(relpath)
91
91
        return t