plugins/python/regress: add tests for approval plugin

This commit is contained in:
Robert Manner
2020-02-11 14:39:59 +01:00
committed by Todd C. Miller
parent 80b3d86d6e
commit 43e256e34f
6 changed files with 234 additions and 0 deletions

View File

@@ -157,6 +157,8 @@ int fake_printf(int msg_type, const char *fmt, ...);
int verify_log_lines(const char *reference_path);
int mock_python_datetime_now(const char *plugin_name, const char *date_str);
#define VERIFY_LOG_LINES(reference_path) \
VERIFY_TRUE(verify_log_lines(reference_path))