diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-06-09 16:29:36 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-06-09 16:29:36 -0400 |
commit | 10e703682a194ad692616d0c240def4c90fbd748 (patch) | |
tree | 90e7476ea632eea7964f03ba4cd4191c9b71cc03 /tests/test_bashcompletion.py | |
parent | 0e0e22d3a53ea3ea3f6b34933df73f6b0e1dc071 (diff) | |
download | cmd2-git-10e703682a194ad692616d0c240def4c90fbd748.tar.gz |
2nd try at selectively enabling parameterized
Diffstat (limited to 'tests/test_bashcompletion.py')
-rw-r--r-- | tests/test_bashcompletion.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_bashcompletion.py b/tests/test_bashcompletion.py index b0607ec8..a630fd3c 100644 --- a/tests/test_bashcompletion.py +++ b/tests/test_bashcompletion.py @@ -138,7 +138,7 @@ def test_invalid_ifs(parser1, mock): # noinspection PyShadowingNames @pytest.mark.skipif(skip_no_argcomplete or skip_windows or skip_mac, reason=skip_reason) @pytest.mark.parametrize('comp_line, exp_out, exp_err', [ - ('media ', 'movies\013shows', ''), + ('media mo', 'movies', ''), ]) def test_commands_travis(parser1, capfd, mock, comp_line, exp_out, exp_err): mock.patch.dict(os.environ, {'_ARGCOMPLETE': '1', @@ -164,7 +164,7 @@ def test_commands_travis(parser1, capfd, mock, comp_line, exp_out, exp_err): # noinspection PyShadowingNames @pytest.mark.skipif(skip or skip_mac, reason=skip_reason) @pytest.mark.parametrize('comp_line, exp_out, exp_err', [ - ('media mo', 'movies', ''), + ('media ', 'movies\013shows', ''), ('media movies list -a "J', '"John Boyega"\013"Jake Lloyd"', ''), ('media movies list ', '', ''), ('media movies add ', '\013\013 ', ''' |