hurl/integration/tests/redirect.py
2022-02-05 18:15:41 +01:00

13 lines
209 B
Python

from tests import app
from flask import redirect
@app.route("/redirect")
def redirectme():
return redirect("http://localhost:8000/redirected")
@app.route("/redirected")
def redirected():
return ""