mirror of
https://github.com/kennethreitz/responder.git
synced 2026-06-05 06:46:14 +00:00
Merge pull request #445 from majiang/patch-2
test_redirects: access '/2' and redirect to '/1'
This commit is contained in:
@@ -750,7 +750,7 @@ def test_redirects(api, session):
|
|||||||
def one(req, resp):
|
def one(req, resp):
|
||||||
resp.text = "redirected"
|
resp.text = "redirected"
|
||||||
|
|
||||||
assert session.get("/1").url == "http://;/1"
|
assert session.get("/2").url == "http://;/1"
|
||||||
|
|
||||||
|
|
||||||
def test_session_thoroughly(api, session):
|
def test_session_thoroughly(api, session):
|
||||||
|
|||||||
Reference in New Issue
Block a user