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():
459
459
460
460
461
461
def 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
-
467
462
_token = "{}:{}" .format (client_id , client_secret )
468
463
with pytest .raises (ValueError ):
469
464
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():
413
413
414
414
415
415
def 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
-
421
416
_token = "{}:{}" .format (client_id , client_secret )
422
417
with pytest .raises (ValueError ):
423
418
basic_authn ("Basic {}" .format (_token ))
You can’t perform that action at this time.
0 commit comments