File tree 1 file changed +4
-7
lines changed
providers/tests/system/amazon/aws/tests
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -192,11 +192,8 @@ def delete_avp_policy_store(cls):
192
192
for policy_store_id in policy_store_ids :
193
193
client .delete_policy_store (policyStoreId = policy_store_id )
194
194
195
- @pytest .mark .skip ("Authorization is not yet implemented in AF3 new ui" )
196
- def test_login_no_permissions (self , client_no_permissions ):
197
- response = client_no_permissions .post ("/auth/login_callback" )
198
- assert response .status_code == 403
199
-
200
195
def test_login_admin (self , client_admin_permissions ):
201
- response = client_admin_permissions .post ("/auth/login_callback" )
202
- assert response .status_code == 200
196
+ response = client_admin_permissions .post ("/auth/login_callback" , follow_redirects = False )
197
+ assert response .status_code == 303
198
+ assert "location" in response .headers
199
+ assert "webapp?token=" in response .headers ["location" ]
You can’t perform that action at this time.
0 commit comments