hurl/integration/tests/error_assert_match_utf8.py
2022-02-05 18:15:41 +01:00

13 lines
274 B
Python

from tests import app
from flask import make_response
from io import BytesIO
@app.route("/error-assert/match-utf8")
def error_assert_match_utf8():
result = BytesIO()
result.write(b"\xff")
data = result.getvalue()
resp = make_response(data)
return resp