webkom / lego

Backend for abakus.no
https://lego.abakus.no
MIT License
53 stars 20 forks source link

Rename studies back to uppercase #3472

Closed ivarnakken closed 1 year ago

ivarnakken commented 1 year ago

We missed a single .lower(), so instead of having to add that every time you want to do something I think it's better to just keep them as uppercase, especially considering we get them like that from Feide.

image

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (84aa3b7) 88.15% compared to head (3f64e58) 88.15%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3472 +/- ## ======================================= Coverage 88.15% 88.15% ======================================= Files 663 663 Lines 20937 20937 ======================================= Hits 18458 18458 Misses 2479 2479 ``` | [Files Changed](https://app.codecov.io/gh/webkom/lego/pull/3472?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webkom) | Coverage Δ | | |---|---|---| | [.../apps/users/tests/test\_student\_confirmation\_api.py](https://app.codecov.io/gh/webkom/lego/pull/3472?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webkom#diff-bGVnby9hcHBzL3VzZXJzL3Rlc3RzL3Rlc3Rfc3R1ZGVudF9jb25maXJtYXRpb25fYXBpLnB5) | `100.00% <ø> (ø)` | | | [lego/apps/users/constants.py](https://app.codecov.io/gh/webkom/lego/pull/3472?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webkom#diff-bGVnby9hcHBzL3VzZXJzL2NvbnN0YW50cy5weQ==) | `100.00% <100.00%> (ø)` | | | [lego/apps/users/models.py](https://app.codecov.io/gh/webkom/lego/pull/3472?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webkom#diff-bGVnby9hcHBzL3VzZXJzL21vZGVscy5weQ==) | `95.00% <100.00%> (ø)` | |

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