Skip to content
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

Increase test coverage for renderers.py #93

Merged
merged 2 commits into from
Oct 10, 2024

Conversation

browniebroke
Copy link
Member

@browniebroke browniebroke commented Oct 10, 2024

@codecov-commenter
Copy link

⚠️ 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
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
6 checks passed
@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