diff options
Diffstat (limited to 'libreport/src/report-python/test_run_event_state')
-rwxr-xr-x | libreport/src/report-python/test_run_event_state | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libreport/src/report-python/test_run_event_state b/libreport/src/report-python/test_run_event_state new file mode 100755 index 00000000..3e391407 --- /dev/null +++ b/libreport/src/report-python/test_run_event_state @@ -0,0 +1,13 @@ +#!/usr/bin/python + +from report import * + +def func(): + return 0 + +res = run_event_state() +print res +print res.post_run_callback +res.post_run_callback = func +res.logging_callback = func +print res.post_run_callback |