hurl/integration/tests_failed/assert_query_cookie.py

11 lines
275 B
Python
Raw Normal View History

from flask import request, make_response
from app import app
@app.route("/error-assert-query-cookie")
def error_assert_query_cookie():
resp = make_response()
resp.set_cookie("cookie1", "value1")
resp.set_cookie("cookie2", "value2", secure=True)
return resp