@@ -62,6 +62,12 @@ def update_callback(self):
6262 ("X-Idp-Groups" , "noexist testnoexist users" , "GET" , 200 , None ),
6363 ("X-Idp-Groups" , "noexist, testnoexist, users" , "GET" , 200 , None ),
6464 ("Authorization" , "Basic Ym9iOnBhc3N3b3Jk" , "GET" , 200 , "Authorization" ),
65+ ("Authorization" , "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZGVudGl0eSI6ImJvYiJ9."
66+ "LM-CqxAM2MtT2uT3AO69rZ3WJ81nnyMQicizh4oqBwk" , "GET" , 200 , None ),
67+ ("Authorization" ,
68+ "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MTUxMDg0OTIuNTY5MjksImlkZW50aXR5IjoiQm9iIn0."
69+ "CAeMpG-gKbucHU7-KMiqM7H_gTkHSRvXSjNtlvh5DlE" , "GET" , 401 , None ),
70+ ("Authorization" , "Unsupported Ym9iOnBhc3N3b3Jk" , "GET" , 401 , None ),
6571 ("Authorization" , "Unsupported Ym9iOnBhc3N3b3Jk" , "GET" , 401 , None ),
6672 ],
6773)
@@ -111,7 +117,7 @@ def item():
111117 ],
112118)
113119def test_enforcer_with_watcher (
114- app_fixture , enforcer , header , user , method , status , watcher
120+ app_fixture , enforcer , header , user , method , status , watcher
115121):
116122 enforcer .set_watcher (watcher ())
117123
0 commit comments