defenseunicorns / leapfrogai

Production-ready Generative AI for local, cloud native, airgap, and edge deployments.
https://leapfrog.ai
Apache License 2.0
245 stars 25 forks source link

chore(test): Refactor Auth tests #580

Open CollectiveUnicorn opened 1 month ago

CollectiveUnicorn commented 1 month ago

Describe what should be investigated or refactored

The e2e auth tests currently require enumerating all endpoints and handling their nuances. This is likely overkill for auth, we should refactor these tests to focus on auth in isolation of the endpoints themselves so that they don't need to be constantly updated and can focus on the actual auth functionality.

Links to any relevant code

tests -> e2e -> test_api.py contains the auth tests.