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