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