hurl/integration/tests_failed/invalid_jsonpath.py

11 lines
253 B
Python
Raw Normal View History

from app import app
2020-08-27 10:07:46 +03:00
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",
)