-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix unit tests for STAC transactions #413
Comments
### Issue #295 ### What? - Add transactions extensions from - #276 - Add bulk transactions extension - Add authentication for all transactions PUT POST endpoints - Add authentication to openapi docs - Add request validation to all all transactions PUT POST endpoints ### Why? - To allow stac editing (collection and item) + enable stac-admin ### Testing? - Tested locally as well as deployed to https://stacadmin.openveda.cloud/api/stac/docs ### TODO - [x] Refactor the way env vars are used - [x] Remove temporary workflow - [x] Fix failing tests - [x] Use `pystac` instead of `stac_pydantic` - [x] Make transactions a feature flag - [x] Package auth? ~~- [ ] Tests~~ (to be handled in [a separate ticket](#413))
@slesaad @stephenkilbourn was the short term fix to include endpoint tests in this PR with the workflows tests for stac and raster: https://github.com/NASA-IMPACT/veda-backend/pull/397/files? |
Thanks @stephenkilbourn that sounds good! |
I've added a branch with a small change in the
this got past the starlette error that we were seeing in
I'm at a loss on how to get past the new post error, though. |
@vincentsarago, are you able to help us with this?? |
Description
In the transactions PR, we added some unit tests, but had some trouble getting them to work.
So for now we've commented out the tests in the CICD.
Fix the tests and uncomment the lines in the workflow.
AC
The text was updated successfully, but these errors were encountered: