diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-15 15:41:47 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-15 15:41:47 -0400 |
commit | 52ea5e4a6bf22a0f1dfb498b5cbe863fbc69faab (patch) | |
tree | 6722f747443cb1294edcc7d598f82099a05347c7 /tests | |
parent | e538d1ac0ae0f121860c376be0ec059cdf797ce5 (diff) | |
download | cmd2-git-52ea5e4a6bf22a0f1dfb498b5cbe863fbc69faab.tar.gz |
Made more methods protected
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_cmd2.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index 7bb0ff75..c563082e 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -1468,7 +1468,7 @@ def test_raw_input(base_app): m = mock.Mock(name='input', return_value=fake_input) builtins.input = m - line = base_app.pseudo_raw_input('(cmd2)') + line = base_app._pseudo_raw_input('(cmd2)') assert line == fake_input def test_stdin_input(): @@ -1480,7 +1480,7 @@ def test_stdin_input(): m = mock.Mock(name='readline', return_value=fake_input) app.stdin.readline = m - line = app.pseudo_raw_input('(cmd2)') + line = app._pseudo_raw_input('(cmd2)') assert line == fake_input def test_empty_stdin_input(): @@ -1492,7 +1492,7 @@ def test_empty_stdin_input(): m = mock.Mock(name='readline', return_value=fake_input) app.stdin.readline = m - line = app.pseudo_raw_input('(cmd2)') + line = app._pseudo_raw_input('(cmd2)') assert line == 'eof' def test_poutput_string(outsim_app): |