Fix proposed by ghozzy_. Also needed would be a test case. It could either test that:
t = get_transport('aftp://host/path') self.failUnless(t.is_active) parent = t.clone('..') self.failUnless(parent.is_active)
We also should probably assert that:
self.assertEqual('aftp://host/path/', t.abspath('')) To make sure abspath is returing the right string.
Fix proposed by ghozzy_.
Also needed would be a test case. It could either test that:
t = get_transport( 'aftp:/ /host/path' ) (t.is_active) (parent. is_active)
self.failUnless
parent = t.clone('..')
self.failUnless
We also should probably assert that:
self.assertEqua l('aftp: //host/ path/', t.abspath(''))
To make sure abspath is returing the right string.