test_redirects: access '/2' and redirect to '/1'

This commit is contained in:
majiang
2020-12-01 16:18:56 +09:00
committed by GitHub
parent 103816e27a
commit 975e9b5643
+1 -1
View File
@@ -750,7 +750,7 @@ def test_redirects(api, session):
def one(req, resp):
resp.text = "redirected"
assert session.get("/1").url == "http://;/1"
assert session.get("/2").url == "http://;/1"
def test_session_thoroughly(api, session):