Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bugs in the code-coverage report #73

Merged
merged 4 commits into from
Apr 23, 2023
Merged

Fix bugs in the code-coverage report #73

merged 4 commits into from
Apr 23, 2023

Conversation

WenjieDu
Copy link
Owner

This PR is to fix previous bugs the testing cases in test_cli.py that are

  1. deleting .coverage file causes the mis-calculation of the code coverage;
  2. linting code with Black reformats the code and results in discrepancy between records in the .coverage file and actual code;

Both fixed in this PR.

@coveralls
Copy link
Collaborator

coveralls commented Apr 23, 2023

Pull Request Test Coverage Report for Build 4778543567

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 11 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-0.2%) to 84.641%

Files with Coverage Reduction New Missed Lines %
pypots/cli/doc.py 3 82.05%
pypots/tests/test_cli.py 3 90.91%
pypots/cli/dev.py 5 71.67%
Totals Coverage Status
Change from base Build 4777707592: -0.2%
Covered Lines: 3053
Relevant Lines: 3607

💛 - Coveralls

@WenjieDu WenjieDu merged commit 568b3c5 into dev Apr 23, 2023
@WenjieDu WenjieDu deleted the temp_test_branch branch April 23, 2023 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants