care icon indicating copy to clipboard operation
care copied to clipboard

added test cases for asset bed

Open praffq opened this issue 1 year ago • 1 comments

Proposed Changes

  • Added test cases for asset bed module
  • Adding more test for bed create module
  • Updated PermissionError with PermissionDenied for better handling of permission errors

Associated Issue

  • Fixes #1386
  • Part of #1372

Merge Checklist

  • [x] Tests added/fixed
  • [x] Linting Complete

Only PR's with test cases included and passing lint and test pipelines will be reviewed

@ohcnetwork/care-backend-maintainers @ohcnetwork/care-backend-admins

praffq avatar Oct 13 '24 00:10 praffq

Codecov Report

Attention: Patch coverage is 75.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 69.27%. Comparing base (39c7aa4) to head (53c6e20). Report is 7 commits behind head on develop.

Files with missing lines Patch % Lines
care/facility/api/serializers/asset.py 33.33% 2 Missing :warning:
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2532      +/-   ##
===========================================
+ Coverage    69.19%   69.27%   +0.08%     
===========================================
  Files          211      211              
  Lines        11940    11943       +3     
  Branches      1208     1208              
===========================================
+ Hits          8262     8274      +12     
+ Misses        3302     3297       -5     
+ Partials       376      372       -4     

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

codecov[bot] avatar Oct 14 '24 10:10 codecov[bot]