#NEWLINE# def test_url_join_extra_slashes( self ) : #NEWLINE# #INDENT# pieces = [ 'one/' , '/two//' , '/three/' ] #NEWLINE# joined = common . url_join ( * pieces ) #NEWLINE# self . assertEqual ( 'one/two/three' , joined )