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