summaryrefslogtreecommitdiffstats
path: root/libreport/src/report-python/test_run_event_state
blob: 3e391407a42827efe7c7a6be8c9d3747a9aaee62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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