From f9a3e343bb4c07a624e21a1e07302b494c78e545 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Thu, 5 Sep 2024 13:13:58 -0700 Subject: [PATCH] add ui testing folder --- tests/proxy_admin_ui_tests/test_usage_endpoints.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/proxy_admin_ui_tests/test_usage_endpoints.py diff --git a/tests/proxy_admin_ui_tests/test_usage_endpoints.py b/tests/proxy_admin_ui_tests/test_usage_endpoints.py new file mode 100644 index 000000000..cb5a9f7ad --- /dev/null +++ b/tests/proxy_admin_ui_tests/test_usage_endpoints.py @@ -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 +"""