예제 #1
0
def test_urlparse_several():
    assert 'path1/path2' == url_join('path1', 'path2')
예제 #2
0
def test_urlparse_base():
    assert 'http://my.web' == url_join('http://my.web')
예제 #3
0
def test_urlparse_simple():
    assert 'path' == url_join('path')
예제 #4
0
def test_urlparse_base_and_path():
    assert 'http://my.web/path' == url_join('http://my.web', 'path')