Major-League-Summer-Baseball / mlsb-platform

A platform for mlsb
http://mlsb-platform.herokuapp.com/documentation
Apache License 2.0
3 stars 1 forks source link

feat: convenors able to remove team and games #240

Closed fras2560 closed 2 months ago

fras2560 commented 2 months ago

Checklist

Issues closed

Related issues

Description

Add the ability for convenor to remove a team given they have no games Add the ability for convenor to remove a game given they have no scores submitted

Screenshots

image image

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 96.02649% with 6 lines in your changes missing coverage. Please review.

Project coverage is 95.12%. Comparing base (99a194d) to head (aa9a812).

Files Patch % Lines
api/convenor/teams.py 85.18% 4 Missing :warning:
api/convenor/games.py 87.50% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## development #240 +/- ## =============================================== + Coverage 95.11% 95.12% +0.01% =============================================== Files 137 137 Lines 11218 11366 +148 =============================================== + Hits 10670 10812 +142 - Misses 548 554 +6 ``` | [Flag](https://app.codecov.io/gh/Major-League-Summer-Baseball/mlsb-platform/pull/240/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Major-League-Summer-Baseball) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/Major-League-Summer-Baseball/mlsb-platform/pull/240/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Major-League-Summer-Baseball) | `95.12% <96.02%> (+0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Major-League-Summer-Baseball#carryforward-flags-in-the-pull-request-comment) to find out more.

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