Closed kilbergr closed 5 months ago
Attention: 11 lines
in your changes are missing coverage. Please review.
Comparison is base (
6bbf84c
) 71.19% compared to head (510034b
) 71.18%.
Files | Patch % | Lines |
---|---|---|
perma_web/conftest.py | 67.64% | 11 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR translates test_views_auth from unittest to pytest style. I copied and modified some helpers from perma/tests/utils, namely
submit_form
: https://github.com/harvard-lil/perma/blob/develop/perma_web/perma/tests/utils.py#L84,randomize_capitalization
, andlog_in_user
: https://github.com/harvard-lil/perma/blob/develop/perma_web/perma/tests/utils.py#L24.