hurl/integration/tests_ok/assert_match.py

16 lines
273 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("/assert-match")
def assert_match():
return Response(
"""{
2020-08-27 10:07:46 +03:00
"date1": "2014-01-01",
2022-01-27 00:10:48 +03:00
"date2": "x2014-01-01",
"path1": "aa/bb",
"path2": "aa\\\\bb"
}""",
mimetype="application/json",
)