示例#1
0
def test_invalid():
    assert uri.validate("hwerewrsdfsdfmbytes=5&durawer&delay=3&code=code") is False
示例#2
0
def test_http():
    assert uri.validate("http://httpbin.org/") is True
示例#3
0
def test_kwargs():
    assert uri.validate("http://httpbin.org/get?numbytes=5&duration=45-23-a3&delay=3&code=code") is True