remove prefix
This commit is contained in:
@@ -31,8 +31,7 @@ def test_bearer_jwt(lambda_context: LambdaContext, dynamodb_seeds):
|
||||
|
||||
def test_parse_bearer_token_api_key():
|
||||
bearer = _parse_bearer_token(
|
||||
'Bearer pptx-35433970-6857-4062-bb43-f71683b2f68e',
|
||||
apikey_prefix='pptx',
|
||||
'Bearer sk-35433970-6857-4062-bb43-f71683b2f68e',
|
||||
)
|
||||
|
||||
assert bearer.token == '35433970-6857-4062-bb43-f71683b2f68e' # type: ignore
|
||||
|
||||
Reference in New Issue
Block a user