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