summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-06-29 12:48:13 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-06-29 12:48:13 -0400
commit1ca3ce9361ef0eb9c98ce8ec4cbd76e7b30140b2 (patch)
treeedf9d440132a3b318dd8a778a246cb04bb98057c /tests
parente73661cee4215a0ecf496316bbeac4663c722ed2 (diff)
downloadcmd2-git-1ca3ce9361ef0eb9c98ce8ec4cbd76e7b30140b2.tar.gz
Handling alternate cases of allow_ansi values
Diffstat (limited to 'tests')
-rw-r--r--tests/test_cmd2.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index 47d8ce44..ab24384b 100644
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -185,6 +185,9 @@ now: True
(ansi.ANSI_NEVER, False),
(ansi.ANSI_TERMINAL, False),
(ansi.ANSI_ALWAYS, False),
+ ('neVeR', False),
+ ('TeRMInal', False),
+ ('AlWaYs', False),
('invalid', True),
])
def test_set_allow_ansi(base_app, new_val, is_valid):