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 session cypress test with equivalent pytest #473

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: 68.11% // Head: 68.19% // Increases project coverage by +0.07% :tada:

Coverage data is based on head (4c505f2) compared to base (bddfc4d). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #473 +/- ## =========================================== + Coverage 68.11% 68.19% +0.07% =========================================== Files 81 81 Lines 2569 2569 Branches 313 313 =========================================== + Hits 1750 1752 +2 Misses 788 788 + Partials 31 29 -2 ``` | [Impacted Files](https://codecov.io/gh/ClimateMind/climatemind-backend/pull/473?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/473/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%> (+3.33%)` | :arrow_up: | | [app/session/routes.py](https://codecov.io/gh/ClimateMind/climatemind-backend/pull/473/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ClimateMind#diff-YXBwL3Nlc3Npb24vcm91dGVzLnB5) | `100.00% <0.00%> (+4.16%)` | :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.