hurl/integration/tests/error_invalid_jsonpath.py

11 lines
255 B
Python
Raw Normal View History

2020-08-27 10:07:46 +03:00
from tests import app
from flask import Response
2020-08-27 10:07:46 +03:00
@app.route("/error-invalid-jsonpath")
def error_invalid_jsonpath():
return Response(
'{"success":false,"errors":[{"id":"error1"},{"id":"error2"}]}',
mimetype="application/json",
)