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
[WIP] 91% test coverage of onionshare/common.py
#415
[WIP] 91% test coverage of onionshare/common.py
#415
Conversation
* Rearrange imports, one per line * Reuse original `import random` for `random.SystemRandom` (instead of a separate `from random import SystemRandom`) * Two blank lines above each function definition
…`format_seconds`, add initial ZipWriter tests
onionshare/common.py
onionshare/common.py
… selection of a file or folder, as well as multiple
…hers" This reverts commit 6ad8b88.
…/onionshare into delirious-lettuce-format_seconds
Yes, it's still in progress. I have some more work to do but I will try to kick it into high gear and get them done quickly. I will make the changes you asked for in reference to Some of the I saw this link as I've been going back and forth through the I was having similar problems on Travis because it didn't allow access to system installed Thanks for your time, I will get working on these issues and will let you know when I have them solved! |
…into mig5-single_add_button
…ttuce/onionshare into delirious-lettuce-hmac_compare_digest
…`format_seconds`, add initial ZipWriter tests
* add new imports * rename ZipWriter regex * add more fixtures * use classes to group related tests * adjust expected results after # ? merge * parametrize `get_available_port` test * test three platforms instead of one * initial tests for `get_resource_path` (work-in-progress) * pass fixtures as args instead of `usefixtures` decorators * add more tests for `ZipWriter.add_file * ensure temporary files and directories are removed after tests
…common_test # Conflicts: # test/onionshare_common_test.py
I messed this up so I'm going to close this PR and re-submit it. Sorry for the confusion! |
@micahflee ,
This PR is still a work-in-progress but I wanted to give you an idea of what I've been doing to help with #404 . I will continue to work on it to try and achieve 100% coverage.
Let me know what you think!