diff options
Diffstat (limited to 'tests/test_cmd2.py')
-rw-r--r-- | tests/test_cmd2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index f56555aa..c820292c 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -1457,7 +1457,7 @@ def test_poutput_none(outsim_app): expected = 'None\n' assert out == expected -def test_poutput_color_always(outsim_app): +def test_poutput_ansi_always(outsim_app): msg = 'Hello World' ansi.allow_ansi = ansi.ANSI_ALWAYS outsim_app.poutput(ansi.style(msg, fg='cyan')) @@ -1465,7 +1465,7 @@ def test_poutput_color_always(outsim_app): expected = Fore.CYAN + msg + Fore.RESET + '\n' assert out == expected -def test_poutput_color_never(outsim_app): +def test_poutput_ansi_never(outsim_app): msg = 'Hello World' ansi.allow_ansi = ansi.ANSI_NEVER outsim_app.poutput(ansi.style(msg, fg='cyan')) |