Skip to content

Increase test coverage for renderers.py#93

Merged
FlipperPA merged 2 commits intodjango-commons:mainfrom
browniebroke:test-coverage-renderers
Oct 10, 2024
Merged

Increase test coverage for renderers.py#93
FlipperPA merged 2 commits intodjango-commons:mainfrom
browniebroke:test-coverage-renderers

Conversation

@browniebroke
Copy link
Copy Markdown
Member

@browniebroke browniebroke commented Oct 10, 2024

@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.83%. Comparing base (c2e5d8a) to head (d2d88ad).
Report is 1 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #93      +/-   ##
==========================================
+ Coverage   88.53%   92.83%   +4.29%     
==========================================
  Files           4        4              
  Lines         349      349              
==========================================
+ Hits          309      324      +15     
+ Misses         40       25      -15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines 59 to 60
if data is None:
return bytes()
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code was unreachable, self._check_validation_data(data) raises an error if data is None

@FlipperPA FlipperPA merged commit 339e088 into django-commons:main Oct 10, 2024
@browniebroke browniebroke deleted the test-coverage-renderers branch October 11, 2024 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants