-
Notifications
You must be signed in to change notification settings - Fork 29
enhancements on scicrunch classifiers (backend) #2065
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
enhancements on scicrunch classifiers (backend) #2065
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2065 +/- ##
========================================
+ Coverage 72.7% 72.9% +0.1%
========================================
Files 421 421
Lines 15463 15487 +24
Branches 1563 1568 +5
========================================
+ Hits 11255 11295 +40
+ Misses 3805 3785 -20
- Partials 403 407 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
|
8885328
to
70971ec
Compare
70971ec
to
0d685d4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏 🎩
services/web/server/tests/unit/with_dbs/fast/test_groups_handlers_classifers.py
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💪
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go ahead.
What do these changes do?
Some enhancements and increases test coverage on scicrunch classifiers
Fixes error responses
POST /groups/sparc/classifiers/scicrunch-resources/{rrid}
rrid
should NOT have prefixRRID:
non "SCR_" RRIDs
SCR_
)services/web/server/tests/unit/isolated/test_scicrunch_service_api.py
Related issue/s
How to test
Get a token in scicrunch.org for API
export SCICRUNCH_API_KEY=some-secret-token make devenv cd services/web/server make install-dev make test-dev-unit
Checklist
make openapi-specs
,git commit ...
and thenmake version-*
)