wilhelmagren / gromp

Holistic Python implementation of the public Riot Games Developer API.
MIT License
6 stars 1 forks source link

Implement unittests for version bump (#8) #17

Closed wilhelmagren closed 1 year ago

wilhelmagren commented 1 year ago

Mocking api requests is not yet tested.

codecov[bot] commented 1 year ago

Codecov Report

Base: 0.00% // Head: 83.92% // Increases project coverage by +83.92% :tada:

Coverage data is based on head (3ca75f8) compared to base (07627a0). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #17 +/- ## ========================================= + Coverage 0 83.92% +83.92% ========================================= Files 0 43 +43 Lines 0 560 +560 ========================================= + Hits 0 470 +470 - Misses 0 90 +90 ``` | [Impacted Files](https://codecov.io/gh/willeagren/gromp/pull/17?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Wilhelm+%C3%85gren) | Coverage Δ | | |---|---|---| | [gromp/hook/league.py](https://codecov.io/gh/willeagren/gromp/pull/17?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Wilhelm+%C3%85gren#diff-Z3JvbXAvaG9vay9sZWFndWUucHk=) | `100.00% <ø> (ø)` | | | [gromp/endpoint/league/Leaguev4.py](https://codecov.io/gh/willeagren/gromp/pull/17?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Wilhelm+%C3%85gren#diff-Z3JvbXAvZW5kcG9pbnQvbGVhZ3VlL0xlYWd1ZXY0LnB5) | `62.50% <100.00%> (ø)` | | | [tests/\_\_init\_\_.py](https://codecov.io/gh/willeagren/gromp/pull/17?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Wilhelm+%C3%85gren#diff-dGVzdHMvX19pbml0X18ucHk=) | `100.00% <100.00%> (ø)` | | | [tests/hook/\_\_init\_\_.py](https://codecov.io/gh/willeagren/gromp/pull/17?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Wilhelm+%C3%85gren#diff-dGVzdHMvaG9vay9fX2luaXRfXy5weQ==) | `100.00% <100.00%> (ø)` | | | [tests/hook/league.py](https://codecov.io/gh/willeagren/gromp/pull/17?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Wilhelm+%C3%85gren#diff-dGVzdHMvaG9vay9sZWFndWUucHk=) | `100.00% <100.00%> (ø)` | | | [gromp/endpoint/league/LolChallengesv1.py](https://codecov.io/gh/willeagren/gromp/pull/17?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Wilhelm+%C3%85gren#diff-Z3JvbXAvZW5kcG9pbnQvbGVhZ3VlL0xvbENoYWxsZW5nZXN2MS5weQ==) | `62.50% <0.00%> (ø)` | | | [gromp/handler/log.py](https://codecov.io/gh/willeagren/gromp/pull/17?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Wilhelm+%C3%85gren#diff-Z3JvbXAvaGFuZGxlci9sb2cucHk=) | `66.66% <0.00%> (ø)` | | | [gromp/url/league/ChampionMasteryv4Url.py](https://codecov.io/gh/willeagren/gromp/pull/17?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Wilhelm+%C3%85gren#diff-Z3JvbXAvdXJsL2xlYWd1ZS9DaGFtcGlvbk1hc3Rlcnl2NFVybC5weQ==) | `83.33% <0.00%> (ø)` | | | [gromp/url/league/Matchv5Url.py](https://codecov.io/gh/willeagren/gromp/pull/17?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Wilhelm+%C3%85gren#diff-Z3JvbXAvdXJsL2xlYWd1ZS9NYXRjaHY1VXJsLnB5) | `83.33% <0.00%> (ø)` | | | [gromp/endpoint/league/Tournamentv4.py](https://codecov.io/gh/willeagren/gromp/pull/17?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Wilhelm+%C3%85gren#diff-Z3JvbXAvZW5kcG9pbnQvbGVhZ3VlL1RvdXJuYW1lbnR2NC5weQ==) | `64.28% <0.00%> (ø)` | | | ... and [35 more](https://codecov.io/gh/willeagren/gromp/pull/17?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Wilhelm+%C3%85gren) | | 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=Wilhelm+%C3%85gren). 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=Wilhelm+%C3%85gren)

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