mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-18 08:02:12 +03:00
7 lines
231 B
Python
7 lines
231 B
Python
|
from tests import app
|
||
|
from flask import Response
|
||
|
|
||
|
@app.route("/error-invalid-jsonpath")
|
||
|
def error_invalid_jsonpath():
|
||
|
return Response('{"success":false,"errors":[{"id":"error1"},{"id":"error2"}]}', mimetype='application/json')
|