-
Notifications
You must be signed in to change notification settings - Fork 191
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
Improve test coverage of sync.py #1936
Conversation
There was a bug in this function: because `self.merge_branch` was used to store the new branch name, it was stored persistently in the `psync` object. Hence when a new branch was created, the branch number was appended several times, e.g. `original_merge_branch-2-3-4`.
Codecov Report
@@ Coverage Diff @@
## dev #1936 +/- ##
==========================================
+ Coverage 59.93% 61.26% +1.33%
==========================================
Files 37 37
Lines 4677 4642 -35
==========================================
+ Hits 2803 2844 +41
+ Misses 1874 1798 -76
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :)
This PR improves the code coverage of the
sync
module and fixes a couple of bugs along the way.Only the
sync
function remains untested but this one is kind of a beast so I leave it for now.Closes #1913
PR checklist
CHANGELOG.md
is updated