-
-
Notifications
You must be signed in to change notification settings - Fork 46.6k
file-transfer: writing tests and ensuring that all is going well #2413
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
Conversation
Hey @meysam81, TravisCI finished with status TravisBuddy Request Identifier: 7f43b680-f470-11ea-a882-ef0b60d9fbb3 |
Hey @meysam81, TravisCI finished with status TravisBuddy Request Identifier: ddb088b0-f470-11ea-a882-ef0b60d9fbb3 |
Travis tests have failedHey @meysam81, TravisBuddy Request Identifier: 03d7b9e0-f472-11ea-a882-ef0b60d9fbb3 |
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.
A nice example of how to mock and test communications code.
…Algorithms#2413) * file-transfer: writing tests and ensuring that all is going well * def send_file(filename: str = "mytext.txt", testing: bool = False) -> None: * send_file(filename="mytext.txt", testing=True) * Update send_file.py * requirements.txt: lxml Co-authored-by: Christian Clauss <cclauss@me.com>
Describe your change:
I added tests for improving coverage as mentioned in #2128
Checklist:
Fixes: #{$ISSUE_NO}
.