Uh oh!
There was an error while loading. Please reload this page.
file-transfer: writing tests and ensuring that all is going well - #2413
Conversation
Uh oh!
There was an error while loading. Please reload this page.
TravisBuddy
commented
Sep 11, 2020
Hey @meysam81, TravisCI finished with status TravisBuddy Request Identifier: 7f43b680-f470-11ea-a882-ef0b60d9fbb3 |
TravisBuddy
commented
Sep 11, 2020
Hey @meysam81, TravisCI finished with status TravisBuddy Request Identifier: ddb088b0-f470-11ea-a882-ef0b60d9fbb3 |
TravisBuddy
commented
Sep 11, 2020
Travis tests have failedHey @meysam81, TravisBuddy Request Identifier: 03d7b9e0-f472-11ea-a882-ef0b60d9fbb3 |
cclauss
left a comment
There was a problem hiding this comment.
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}.