opendatahub-io / caikit-nlp-client

A grpc and http client library for caikit-nlp
Apache License 2.0
3 stars 6 forks source link

test(tests): improve http client coverage #59

Closed z103cb closed 12 months ago

z103cb commented 12 months ago

Added unit tests to cover certain constructor invocation use cases.

Fixes #58

codecov[bot] commented 12 months ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (0bad265) 79.62% compared to head (70270ce) 80.25%.

Files Patch % Lines
tests/fixtures/http.py 66.66% 0 Missing and 1 partial :warning:
tests/test_http_client.py 96.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #59 +/- ## ========================================== + Coverage 79.62% 80.25% +0.63% ========================================== Files 13 13 Lines 530 542 +12 Branches 107 111 +4 ========================================== + Hits 422 435 +13 Misses 88 88 + Partials 20 19 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.