plugins/python/regress: update tests for show_version changes

- plugin->show_version is not marked NULL any more.
- if verbose, it also displays which python class was loaded from which file
This commit is contained in:
Robert Manner
2020-02-26 11:36:55 +01:00
committed by Todd C. Miller
parent f387cdf53f
commit 9cc46f115d
6 changed files with 23 additions and 8 deletions

View File

@@ -1,6 +1,5 @@
DebugDemoPlugin.__init__ was called with arguments: () {'version': '1.0', 'settings': ('debug_flags=/tmp/sudo_check_python_exampleXXXXXX/debug.log py_calls@info', 'plugin_path=python_plugin.so'), 'user_env': (), 'user_info': (), 'plugin_options': ('ModulePath=SRC_DIR/example_debugging.py', 'ClassName=DebugDemoPlugin')}
DebugDemoPlugin.__init__ returned result: <example_debugging.DebugDemoPlugin object>
DebugDemoPlugin function 'show_version' is not implemented
DebugDemoPlugin function 'log_ttyin' is not implemented
DebugDemoPlugin function 'log_ttyout' is not implemented
DebugDemoPlugin function 'log_stdin' is not implemented