~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_ftp_transport.py

  • Committer: Jelmer Vernooij
  • Date: 2011-08-19 22:34:02 UTC
  • mto: This revision was merged to the branch mainline in revision 6089.
  • Revision ID: jelmer@samba.org-20110819223402-wjywqb0fa1xxx522
Use get_transport_from_{url,path} in more places.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    """Test aftp transport."""
45
45
 
46
46
    def test_aftp_degrade(self):
47
 
        t = transport.get_transport('aftp://host/path')
 
47
        t = transport.get_transport_from_url('aftp://host/path')
48
48
        self.assertTrue(t.is_active)
49
49
        parent = t.clone('..')
50
50
        self.assertTrue(parent.is_active)