hurl/integration/tests/error_assert_query_cookie.py

11 lines
277 B
Python
Raw Normal View History

from flask import request, make_response
from tests 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