cgtobi / PyRMVtransport

:bus: Get transport information from opendata.rmv.de
MIT License
12 stars 6 forks source link

Update tests #55

Closed cgtobi closed 2 years ago

cgtobi commented 2 years ago

Signed-off-by: cgtobi cgtobi@gmail.com

sourcery-ai[bot] commented 2 years ago

Sourcery Code Quality Report

❌  Merging this PR will decrease code quality in the affected files by 0.09%.

Quality metrics Before After Change
Complexity 0.13 ⭐ 0.14 ⭐ 0.01 πŸ‘Ž
Method Length 47.42 ⭐ 48.39 ⭐ 0.97 πŸ‘Ž
Working memory 5.81 ⭐ 5.85 ⭐ 0.04 πŸ‘Ž
Quality 84.95% ⭐ 84.86% ⭐ -0.09% πŸ‘Ž
Other metrics Before After Change
Lines 257 247 -10
                | Changed files | Quality Before | Quality After | Quality Change |
                | --- | :---: | :---: | :---: |
                | tests/test_bugs.py | 84.13% ⭐ | 84.13% ⭐ | 0.00% |

| tests/test_rmvtransport.py | 85.23% ⭐ | 85.12% ⭐ | -0.11% πŸ‘Ž|

Here are some functions in these files that still need a tune-up:

File Function Complexity Length Working Memory Quality Recommendation
            ## Legend and Explanation

            The emojis denote the absolute quality of the code:

             - ⭐ excellent
             - πŸ™‚ good
             - 😞 poor
             - β›” very poor

            The πŸ‘ and πŸ‘Ž indicate whether the quality has improved or gotten worse with this pull request.

            ***

            Please see our documentation [here](https://docs.sourcery.ai/GitHub/Quality-Report/) for details on how these metrics are calculated.

            We are actively working on this report - lots more documentation and extra metrics to come!

            Help us [improve](https://research.typeform.com/to/j06Spdfr?type=quality_report&github_login=cgtobi&base_repo=https%3A%2F%2Fgithub.com%2Fcgtobi%2FPyRMVtransport.git&base_remote_ref=refs%2Fpull%2F55%2Fhead&base_ref=update_tests&base_sha=fe93b3d9d625f9ccf8eb7b0c39e0ff41c72d2e77&head_repo=https%3A%2F%2Fgithub.com%2Fcgtobi%2FPyRMVtransport.git&head_ref=sourcery%2Fupdate_tests&base_pr_number=55&base_pr_state=open) this quality report!
codecov[bot] commented 2 years ago

Codecov Report

Merging #55 (fe93b3d) into development (4ef8ac9) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##           development       #55   +/-   ##
=============================================
  Coverage       100.00%   100.00%           
=============================================
  Files                6         6           
  Lines              266       266           
=============================================
  Hits               266       266           
Flag Coverage Ξ”
unittests 100.00% <ΓΈ> (ΓΈ)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more Ξ” = absolute <relative> (impact), ΓΈ = not affected, ? = missing data Powered by Codecov. Last update 4ef8ac9...fe93b3d. Read the comment docs.