-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create utilities.get_parser Factor out common logic into utilities. Removes some dependencies and code duplications. * Use parser in main() See answer https://stackoverflow.com/questions/37697502/python-unittest-for-argparse for reference. Also updated docstrings * Make testable as init * Refactor and test init() Using sys.exit as insurance that test call is executed correclty. #7 Needs import sys in module * Refactored calls in tests to main Now even simpler tests! No argparse. * format
- Loading branch information
1 parent
51dd14a
commit 1ce18ee
Showing
5 changed files
with
134 additions
and
133 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
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
Oops, something went wrong.