diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-04-24 12:58:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-24 12:58:47 -0400 |
commit | 7a20c2e312513b8a84a6cfb56263cac9c67df04d (patch) | |
tree | 679d8dc86e5ac5f38d57133664ca48f04e217239 /tests/test_plugin.py | |
parent | 63343ad3f013d0d8c836014538439056585851ef (diff) | |
parent | b4dd7896b1a18228282a616d88c01ae37fd39419 (diff) | |
download | cmd2-git-7a20c2e312513b8a84a6cfb56263cac9c67df04d.tar.gz |
Merge pull request #663 from python-cmd2/pyscript_capture
Pyscript now saves command output during the same period that redirection does
Diffstat (limited to 'tests/test_plugin.py')
-rw-r--r-- | tests/test_plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_plugin.py b/tests/test_plugin.py index 1f95017c..242b0d25 100644 --- a/tests/test_plugin.py +++ b/tests/test_plugin.py @@ -205,13 +205,13 @@ class Plugin: return data def cmdfinalization_hook_stop(self, data: cmd2.plugin.CommandFinalizationData) -> cmd2.plugin.CommandFinalizationData: - """A postparsing hook which requests application exit""" + """A command finalization hook which requests application exit""" self.called_cmdfinalization += 1 data.stop = True return data def cmdfinalization_hook_exception(self, data: cmd2.plugin.CommandFinalizationData) -> cmd2.plugin.CommandFinalizationData: - """A postparsing hook which raises an exception""" + """A command finalization hook which raises an exception""" self.called_cmdfinalization += 1 raise ValueError |