chroma
chroma copied to clipboard
Apply Hypothesis tests as integration tests
Description of changes
- Add fixtures required to run Hypothesis tests as integration tests
- Includes both local FastAPI server test and Dockerized integration tests
Includes two code fixes:
- Correctly propagate Python error types over the REST API.
- Use more robust SQL parametrization to handle escape characters in documents and metadata.
Test plan
These are the tests.
Documentation Changes
N/A
Latest test failure was a 503 error from PyPi. Simply re-running in this case since I'm assuming that's pretty transient...