-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test_annotate.py: Extract count_pm_lines() and move it to conftest.py
Extracting this function reduces code duplication (one of which was slightly wrong in a way that didn't make the test it was in to fail: total_p and total_m were switched around in that copy of the code). Moving it conftest.py means that it would be able to be used by other tests, like new test in test_cli.py that will be added in next commit.
- Loading branch information
Showing
2 changed files
with
29 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters