You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are there specific tests that need to be written, I would like to contribute to resolving this issue too. I see that there is a directory for tests, however could not find further documentation.
I know the fastapi example does not have any tests. To test it httpx needs to be added to the requirements.txt. Then a test client fixture is needed. Something like:
Then tests from here should be a good example of how to test the routes.
It's possible there are also other tests missing. I named the tests after the files, so for example test_add_documents_in_batches in test_async_examples.py is the test for async_add_documents_in_batches.py, so if any of those are missing they need to be added also.
Some of the examples are not covered by tests yet, these should be added.
The text was updated successfully, but these errors were encountered: