summaryrefslogtreecommitdiff
path: root/tests/test_51_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_51_client.py')
-rw-r--r--tests/test_51_client.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_51_client.py b/tests/test_51_client.py
index c1d52531..d30a8746 100644
--- a/tests/test_51_client.py
+++ b/tests/test_51_client.py
@@ -3167,9 +3167,10 @@ class TestClientWithDummy():
binding=binding, response_binding=response_binding)
assert isinstance(sid, six.string_types)
- assert len(http_args) == 4
+ assert len(http_args) == 5
assert http_args["headers"][0][0] == "Location"
assert http_args["data"] == []
+ assert http_args["status"] == 303
redirect_url = http_args["headers"][0][1]
_, _, _, _, qs, _ = parse.urlparse(redirect_url)
qs_dict = parse.parse_qs(qs)
@@ -3188,9 +3189,10 @@ class TestClientWithDummy():
assert binding == auth_binding
assert isinstance(sid, six.string_types)
- assert len(http_args) == 4
+ assert len(http_args) == 5
assert http_args["headers"][0][0] == "Location"
assert http_args["data"] == []
+ assert http_args["status"] == 303
redirect_url = http_args["headers"][0][1]
_, _, _, _, qs, _ = parse.urlparse(redirect_url)
qs_dict = parse.parse_qs(qs)