test: stubbed malformed url test
This commit is contained in:
parent
d2ab46d70b
commit
88ca56dda3
|
@ -21,3 +21,7 @@ def test_bad_request_response(app):
|
||||||
app.run(host="127.0.0.1", port=42101, debug=False)
|
app.run(host="127.0.0.1", port=42101, debug=False)
|
||||||
assert lines[0] == b"HTTP/1.1 400 Bad Request\r\n"
|
assert lines[0] == b"HTTP/1.1 400 Bad Request\r\n"
|
||||||
assert b"Bad Request" in lines[-2]
|
assert b"Bad Request" in lines[-2]
|
||||||
|
|
||||||
|
|
||||||
|
def test_malformed_uri_bad_request(app):
|
||||||
|
assert False
|
Loading…
Reference in New Issue
Block a user