File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed
Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -459,11 +459,6 @@ def test_basic_auth_wrong_label():
459459
460460
461461def test_basic_auth_wrong_token ():
462- _token = "{}:{}:foo" .format (client_id , client_secret )
463- token = as_unicode (base64 .b64encode (as_bytes (_token )))
464- with pytest .raises (ValueError ):
465- basic_authn ("Basic {}" .format (token ))
466-
467462 _token = "{}:{}" .format (client_id , client_secret )
468463 with pytest .raises (ValueError ):
469464 basic_authn ("Basic {}" .format (_token ))
Original file line number Diff line number Diff line change @@ -413,11 +413,6 @@ def test_basic_auth_wrong_label():
413413
414414
415415def test_basic_auth_wrong_token ():
416- _token = "{}:{}:foo" .format (client_id , client_secret )
417- token = as_unicode (base64 .b64encode (as_bytes (_token )))
418- with pytest .raises (ValueError ):
419- basic_authn ("Basic {}" .format (token ))
420-
421416 _token = "{}:{}" .format (client_id , client_secret )
422417 with pytest .raises (ValueError ):
423418 basic_authn ("Basic {}" .format (_token ))
You can’t perform that action at this time.
0 commit comments