diff options
Diffstat (limited to 'libreport/src/report-python/test_full2')
-rwxr-xr-x | libreport/src/report-python/test_full2 | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libreport/src/report-python/test_full2 b/libreport/src/report-python/test_full2 deleted file mode 100755 index e6cfd4d9..00000000 --- a/libreport/src/report-python/test_full2 +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/python - -import sys -from report import * - -def log_function(line): - print "LOG:", line - -cd = problem_data() -cd.add("foo", "bar") -cd.add("analyzer", "baz", CD_FLAG_ISNOTEDITABLE) - -st = run_event_state() -st.logging_callback = log_function -r = st.run_event_on_problem_data(cd, "post-create") - -print "Result:", r |