Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 33
Gh 788 multinode test review3#621
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
Open
czarte
wants to merge
6
commits into
GH-788_multinode_test-review2Choose a base branch
from
GH-788_multinode_test_review3
base:GH-788_multinode_test-review2
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Uh oh!
There was an error while loading. Please reload this page.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
0135f19
addressing review 2 comments
czarte 3dc3c4c
addressing comments from review2
czarte 915df8b
fixing line length in user interface interface md
czarte 84278e8
tests to remove unexistent countries from user_exit_preferences.locat…
czarte 89239d2
remove tests and commnet of filtering out unexistent country_codes
czarte b1cf2fa
comment about the locations_opt
czarte File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -447,7 +447,7 @@ pub mod tests { | ||
| } | ||
| #[test] | ||
| fn providing_show_countries_flag_cause_request_for_list_of_countries() { | ||
| fn providing_show_countries_flag_causes_request_for_list_of_countries() { | ||
| let transact_params_arc = Arc::new(Mutex::new(vec![])); | ||
| let mut context = CommandContextMock::new() | ||
| .transact_params(&transact_params_arc) | ||
| @@ -490,10 +490,9 @@ pub mod tests { | ||
| } | ||
| #[test] | ||
| fn providing_show_countries_with_other_argument_fails() { | ||
| let result_expected_one = "SetExitLocationCommand error: The argument '--country-codes <COUNTRY-CODES>' cannot be used with one or more of the other specified arguments\n\nUSAGE:\n"; | ||
| let result_expected_two = "SetExitLocationCommand error: The argument '--show-countries' cannot be used with one or more of the other specified arguments\n\nUSAGE:\n"; | ||
| fn providing_show_countries_with_country_codes_fails() { | ||
| let result_expected = "cannot be used with one or more of the other specified arguments\n\nUSAGE:\n"; | ||
| let result = SetExitLocationCommand::new(&[ | ||
| "exit-location".to_string(), | ||
| "--show-countries".to_string(), | ||
| @@ -503,11 +502,29 @@ pub mod tests { | ||
| .unwrap_err(); | ||
| assert!( | ||
| result.contains(result_expected_one) || result.contains(result_expected_two), | ||
| "result was {:?}, but expected {:?} or {:?}", | ||
| result.contains(result_expected), | ||
czarte marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| "result was {:?}, but expected {:?}", | ||
| result, | ||
| result_expected, | ||
| ); | ||
| } | ||
| #[test] | ||
| fn providing_show_countries_with_fallback_routing_fails() { | ||
| let result_expected = "cannot be used with one or more of the other specified arguments\n\nUSAGE:\n"; | ||
| let result = SetExitLocationCommand::new(&[ | ||
| "exit-location".to_string(), | ||
| "--show-countries".to_string(), | ||
| "--fallback-routing".to_string(), | ||
| ]) | ||
| .unwrap_err(); | ||
| assert!( | ||
| result.contains(result_expected), | ||
czarte marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| "result was {:?}, but expected {:?}", | ||
| result, | ||
| result_expected_one, | ||
| result_expected_two | ||
| result_expected, | ||
| ); | ||
| } | ||
| } | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.