-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: Mode.from_name, tests for __main__ (#254)
Instead of create_mode, use Mode.from_name classmethod. * refactor: the tests for __main__:main. Made them simpler to read. This was really initiated by the create_mode -> Mode.from_name change. Could not make the tests pass after such a simple change, so decided to refactor the tests to make them easier to maintain. Bonus ----- * fix: version string printed out correctly in wakepy CLI even with dev version * add logging to registry
- Loading branch information
Showing
5 changed files
with
189 additions
and
168 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.