test: stubbed malformed url test

This commit is contained in:
Stephen Sadowski 2022-02-01 15:45:09 -06:00
parent d2ab46d70b
commit 88ca56dda3

View File

@ -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