-
Notifications
You must be signed in to change notification settings - Fork 967
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add New Tests, Fix Bug Uncovered From Test
Added two new tests to test for `valid_config` not being messed with by previous assignments to it. This proved that the previous design of setting `valid_config` to the value of `validate_destination` in `validate_config` caused errant behaviour when a default destination was invalid but a tool default destination was valid. This case caused the program to still end up returning `valid_config` as True even when an invalid default destination was found.
- Loading branch information
Matthew Spelchak
committed
Mar 5, 2018
1 parent
ead6dbf
commit 920be90
Showing
3 changed files
with
72 additions
and
11 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