def test_url_to_local_path():
 assert_equal(_url_to_local_path('http://google.com/home/why.html', '.'), op.join('.', 'home', 'why.html'))

def test_url_to_local_path ( ) : assert_equal ( _url_to_local_path ( 'http://google.com/home/why.html' , '.' ) , op . join ( '.' , 'home' , 'why.html' ) )
test url to local path .