~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_urlutils.py

Small fix to urlutils.joinpath that was causing a misbehaviour in 
ChrootedTransportDecorator.clone.

Show diffs side-by-side

added added

removed removed

Lines of Context:
247
247
 
248
248
        # Test joining with an absolute path
249
249
        test('/bar', 'foo', '/bar')
 
250
 
 
251
        # Test joining to a path with a trailing slash
 
252
        test('foo/bar', 'foo/', 'bar')
250
253
        
251
254
        # Invalid joinings
252
255
        # Cannot go above root