forked from phoenix/litellm-mirror
add ui testing folder
This commit is contained in:
parent
8d9a724400
commit
f9a3e343bb
1 changed files with 14 additions and 0 deletions
14
tests/proxy_admin_ui_tests/test_usage_endpoints.py
Normal file
14
tests/proxy_admin_ui_tests/test_usage_endpoints.py
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
"""
|
||||||
|
Tests the following endpoints used by the UI
|
||||||
|
|
||||||
|
/global/spend/logs
|
||||||
|
/global/spend/keys
|
||||||
|
/global/spend/models
|
||||||
|
/global/activity
|
||||||
|
/global/activity/model
|
||||||
|
|
||||||
|
|
||||||
|
For all tests - test the following:
|
||||||
|
- Response is valid
|
||||||
|
- Response for Admin User is different from response from Internal User
|
||||||
|
"""
|
Loading…
Add table
Add a link
Reference in a new issue