summaryrefslogtreecommitdiffstats
path: root/libreport/src/report-python/test_run_event_state1
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2011-06-13 16:46:42 +0200
committerKarel Klic <kklic@redhat.com>2011-06-13 16:46:42 +0200
commit8edc80c6a08ef30d02cad35b736c0c7dcb62a7f3 (patch)
treeb747ef4d0e24ad4cf2980f0681a93408011dbcd6 /libreport/src/report-python/test_run_event_state1
parent6dcdb4a5cb3ed68eb7d72cc65e58055d1e4f7c65 (diff)
parent16f9e8da051b87164b77bf9a42a61ae9a97fb5fd (diff)
downloadabrt-8edc80c6a08ef30d02cad35b736c0c7dcb62a7f3.tar.gz
abrt-8edc80c6a08ef30d02cad35b736c0c7dcb62a7f3.tar.xz
abrt-8edc80c6a08ef30d02cad35b736c0c7dcb62a7f3.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'libreport/src/report-python/test_run_event_state1')
-rwxr-xr-xlibreport/src/report-python/test_run_event_state127
1 files changed, 0 insertions, 27 deletions
diff --git a/libreport/src/report-python/test_run_event_state1 b/libreport/src/report-python/test_run_event_state1
deleted file mode 100755
index 6c3584fe..00000000
--- a/libreport/src/report-python/test_run_event_state1
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/python
-
-import sys
-from report import *
-
-def post_run_callback(dump_dir_name):
- return 0
-
-def logging_callback(line):
- print "LOG:", line
- return
-
-res = run_event_state()
-res.post_run_callback = post_run_callback
-res.logging_callback = logging_callback
-
-dd = dd_create("testdir")
-if not dd:
- sys.exit(1)
-dd.save_text("analyzer", "foo")
-dd.close()
-
-res.run_event_on_dir_name("testdir", "post-create")
-
-dd = dd_opendir("testdir")
-dd.delete()
-dd.close()