ietf-tools / www

A customized CMS for the IETF website
BSD 3-Clause "New" or "Revised" License
25 stars 45 forks source link

chore: Improve test coverage #395

Closed mgax closed 5 months ago

mgax commented 6 months ago

Fix https://github.com/ietf-tools/www/issues/378.

mgax commented 6 months ago

I've pushed an update to cover IAB-specific pages too.

codecov-commenter commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.89%. Comparing base (4ad3143) to head (1da2d8b). Report is 7 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #395 +/- ## =========================================== + Coverage 82.72% 95.89% +13.16% =========================================== Files 124 143 +19 Lines 2599 3117 +518 =========================================== + Hits 2150 2989 +839 + Misses 449 128 -321 ```

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

mgax commented 6 months ago

@SharmaineLim I've added more docstrings and comments. I've also updated CONTRIBUTING.md to explain the use of pytest.