summaryrefslogtreecommitdiff
path: root/tests/test_cmd2.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-12-13 23:06:10 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2018-12-13 23:06:10 -0500
commit259ca0d04ac5c3a4bd28c2a971f3fd0d4d78513a (patch)
tree3abd0c1dc367956a0ee2b58db445b58686137097 /tests/test_cmd2.py
parent9a68457c8ceec185036d658d3149ed623353a021 (diff)
downloadcmd2-git-259ca0d04ac5c3a4bd28c2a971f3fd0d4d78513a.tar.gz
Fixed typos in comments
Diffstat (limited to 'tests/test_cmd2.py')
-rw-r--r--tests/test_cmd2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index 18cd16e6..630a8fa0 100644
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -1348,7 +1348,7 @@ def test_select_invalid_option_too_big(select_app):
# Mock out the input call so we don't actually wait for a user's response on stdin
m = mock.MagicMock(name='input')
# If side_effect is an iterable then each call to the mock will return the next value from the iterable.
- m.side_effect = ['3', '1'] # First pass and invalid selection, then pass a valid one
+ m.side_effect = ['3', '1'] # First pass an invalid selection, then pass a valid one
builtins.input = m
food = 'fish'
@@ -1372,7 +1372,7 @@ def test_select_invalid_option_too_small(select_app):
# Mock out the input call so we don't actually wait for a user's response on stdin
m = mock.MagicMock(name='input')
# If side_effect is an iterable then each call to the mock will return the next value from the iterable.
- m.side_effect = ['0', '1'] # First pass and invalid selection, then pass a valid one
+ m.side_effect = ['0', '1'] # First pass an invalid selection, then pass a valid one
builtins.input = m
food = 'fish'