mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
test(test_jwt.py): fix test
This commit is contained in:
parent
7b37f4c05f
commit
ea8f6672c5
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ public_key = {
|
|||
def test_load_config_with_custom_role_names():
|
||||
config = {
|
||||
"general_settings": {
|
||||
"litellm_proxy_roles": {"proxy_admin": "litellm-proxy-admin"}
|
||||
"litellm_proxy_roles": {"admin_jwt_scope": "litellm-proxy-admin"}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -38,7 +38,7 @@ def test_load_config_with_custom_role_names():
|
|||
|
||||
print(f"proxy_roles: {proxy_roles}")
|
||||
|
||||
assert proxy_roles.proxy_admin == "litellm-proxy-admin"
|
||||
assert proxy_roles.admin_jwt_scope == "litellm-proxy-admin"
|
||||
|
||||
|
||||
# test_load_config_with_custom_role_names()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue