ClimateMind / climatemind-backend

Your climate action is here 🌎 Our API is a source for learning how climate change personally affects you and the things you care about most. Additionally, it will teach a scientifically proven method for communicating to others that climate change is a personally relevant issue to inspire action.
https://contribute.climatemind.org/v/rest-api/
MIT License
18 stars 19 forks source link

Replace post-code cypress tests with equivalent pytests #470

Closed brianpeiris closed 1 year ago

brianpeiris commented 1 year ago

Detailed information:

Closing issues:

List all issues the pull request solve:

Test plan (required)

codecov-commenter commented 1 year ago

Codecov Report

Base: 66.64% // Head: 67.38% // Increases project coverage by +0.73% :tada:

Coverage data is based on head (7d0e91a) compared to base (7ed6cc4). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #470 +/- ## =========================================== + Coverage 66.64% 67.38% +0.73% =========================================== Files 81 81 Lines 2569 2569 Branches 313 313 =========================================== + Hits 1712 1731 +19 + Misses 829 809 -20 - Partials 28 29 +1 ``` | [Impacted Files](https://codecov.io/gh/ClimateMind/climatemind-backend/pull/470?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ClimateMind) | Coverage Δ | | |---|---|---| | [app/scoring/tests/data.py](https://codecov.io/gh/ClimateMind/climatemind-backend/pull/470/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ClimateMind#diff-YXBwL3Njb3JpbmcvdGVzdHMvZGF0YS5weQ==) | `100.00% <0.00%> (+6.66%)` | :arrow_up: | | [app/post\_code/routes.py](https://codecov.io/gh/ClimateMind/climatemind-backend/pull/470/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ClimateMind#diff-YXBwL3Bvc3RfY29kZS9yb3V0ZXMucHk=) | `82.60% <0.00%> (+34.78%)` | :arrow_up: | | [app/post\_code/store\_post\_code.py](https://codecov.io/gh/ClimateMind/climatemind-backend/pull/470/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ClimateMind#diff-YXBwL3Bvc3RfY29kZS9zdG9yZV9wb3N0X2NvZGUucHk=) | `100.00% <0.00%> (+60.00%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ClimateMind). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ClimateMind)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.