@@ -3167,9 +3167,10 @@ def test_do_authn(self):
31673167 binding = binding , response_binding = response_binding )
31683168
31693169 assert isinstance (sid , six .string_types )
3170- assert len (http_args ) == 4
3170+ assert len (http_args ) == 5
31713171 assert http_args ["headers" ][0 ][0 ] == "Location"
31723172 assert http_args ["data" ] == []
3173+ assert http_args ["status" ] == 303
31733174 redirect_url = http_args ["headers" ][0 ][1 ]
31743175 _ , _ , _ , _ , qs , _ = parse .urlparse (redirect_url )
31753176 qs_dict = parse .parse_qs (qs )
@@ -3188,9 +3189,10 @@ def test_do_negotiated_authn(self):
31883189
31893190 assert binding == auth_binding
31903191 assert isinstance (sid , six .string_types )
3191- assert len (http_args ) == 4
3192+ assert len (http_args ) == 5
31923193 assert http_args ["headers" ][0 ][0 ] == "Location"
31933194 assert http_args ["data" ] == []
3195+ assert http_args ["status" ] == 303
31943196 redirect_url = http_args ["headers" ][0 ][1 ]
31953197 _ , _ , _ , _ , qs , _ = parse .urlparse (redirect_url )
31963198 qs_dict = parse .parse_qs (qs )
@@ -3247,6 +3249,7 @@ def test_post_sso(self):
32473249 # Here I fake what the client will do
32483250 # create the form post
32493251
3252+ http_args .pop ('status' )
32503253 http_args ["data" ] = parse .urlencode (_dic )
32513254 http_args ["method" ] = "POST"
32523255 http_args ["dummy" ] = _dic ["SAMLRequest" ]
@@ -3283,6 +3286,7 @@ def test_negotiated_post_sso(self):
32833286 # Here I fake what the client will do
32843287 # create the form post
32853288
3289+ http_args .pop ('status' )
32863290 http_args ["data" ] = parse .urlencode (_dic )
32873291 http_args ["method" ] = "POST"
32883292 http_args ["dummy" ] = _dic ["SAMLRequest" ]
0 commit comments