summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-06-07 16:15:12 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-06-07 16:15:12 -0400
commitab1ae68d2747b82812b03edbbccfbca39cf1c638 (patch)
tree812e74a9b465da44f15eee0e211d0baf7f4b209b /tests
parentee699c35159a621e59bf8205c555d0fbf8aa3734 (diff)
downloadcmd2-git-ab1ae68d2747b82812b03edbbccfbca39cf1c638.tar.gz
Removed self._should_quit from cmd2 and add logic to PyscriptBridge to return whether a command returned True for stop.
Added stop to CommandResult so pyscripts can now know the return value of a command's do_* function.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_cmd2.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index 7ea4f227..3ce4123c 100644
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -1949,7 +1949,6 @@ Usage: exit [exit_code]
self.perror("{} isn't a valid integer exit code".format(arg_list[0]))
self.exit_code = -1
- self._should_quit = True
# Return True to stop the command loop
return True