def test_url_validation():
    schema = Schema({"url": Url()})
    out_ = schema({"url": "http://example.com/"})

    assert 'http://example.com/', out_.get("url")
test with valid URL
dataset/ETHPy150Open alecthomas/voluptuous/voluptuous/tests/tests.py/test_url_validation