summaryrefslogtreecommitdiff
path: root/tests_isolated/test_commandset/test_commandset.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2021-03-31 14:53:50 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2021-03-31 15:34:37 -0400
commit06f05261945d706b668c8021a7ae6f8dcd15b9ea (patch)
tree26839ea0e5e4527a795336e6bdbec3a3fa4730b7 /tests_isolated/test_commandset/test_commandset.py
parent5165edec890575682f345fc42f5a53e10ed575b9 (diff)
downloadcmd2-git-error_cleanup.tar.gz
Replaced some pexcept() calls with perror().error_cleanup
Converted some strings to f-strings. Fixed some grammar in error messages and docs. Increased code coverage.
Diffstat (limited to 'tests_isolated/test_commandset/test_commandset.py')
-rw-r--r--tests_isolated/test_commandset/test_commandset.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests_isolated/test_commandset/test_commandset.py b/tests_isolated/test_commandset/test_commandset.py
index 2e7d837f..c3c86458 100644
--- a/tests_isolated/test_commandset/test_commandset.py
+++ b/tests_isolated/test_commandset/test_commandset.py
@@ -157,7 +157,7 @@ def test_custom_construct_commandsets():
cmds_cats, cmds_doc, cmds_undoc, help_topics = app._build_command_info()
assert 'Command Set B' in cmds_cats
- # Verifies that the same CommandSet can not be loaded twice
+ # Verifies that the same CommandSet cannot be loaded twice
command_set_2 = CommandSetB('bar')
with pytest.raises(CommandSetRegistrationError):
assert app.register_command_set(command_set_2)