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
feat: Add full mocking support and missing endpoints
- Add a testing module `codeinsight_sdk.testing` with a `requests_mock` adapter and pytest fixture for reusing mocked endpoints.
- Fix failing `test_get_project_inventory_summary` by using a dynamic callback to correctly simulate the API's pagination responses.
- Implement missing API endpoints on the `CodeInsightClient`: `vulnerabilities`, `users`, `licenses`, `tasks`, `rules`, `files`, `folders`, `jobs`, `components`.
- Add respective handlers and data models for the new endpoints.
- Add comprehensive tests for the newly added endpoints to verify their behavior against the mocked responses.
Co-authored-by: zkarpinski <1206496+zkarpinski@users.noreply.github.com>
0 commit comments