summaryrefslogtreecommitdiffstats
path: root/src/report-python/test_full
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-04-23 17:21:17 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2011-04-23 17:21:17 +0200
commit042d62126a0ca8b6b9d2fb4d417f07691be90536 (patch)
tree9e43a823767d875bb35f3deb6f60df49bbd26f33 /src/report-python/test_full
parentd3da30c4726a193101ee9c17a71c23cf32fa63ca (diff)
downloadabrt-042d62126a0ca8b6b9d2fb4d417f07691be90536.tar.gz
abrt-042d62126a0ca8b6b9d2fb4d417f07691be90536.tar.xz
abrt-042d62126a0ca8b6b9d2fb4d417f07691be90536.zip
mass replace of crash_data with problem_data
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/report-python/test_full')
-rwxr-xr-xsrc/report-python/test_full6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/report-python/test_full b/src/report-python/test_full
index 103535dd..107c4857 100755
--- a/src/report-python/test_full
+++ b/src/report-python/test_full
@@ -3,7 +3,7 @@
import sys
from report import *
-def run_event_on_crash_data(cd, event, log_function = None):
+def run_event_on_problem_data(cd, event, log_function = None):
dd = cd.create_dump_dir("/tmp")
dir_name = dd.name
print "Created dump_dir:", dir_name
@@ -20,8 +20,8 @@ def run_event_on_crash_data(cd, event, log_function = None):
def log_function(line):
print "LOG:", line
-cd = crash_data()
+cd = problem_data()
cd.add("foo", "bar")
cd.add("analyzer", "baz", CD_FLAG_ISNOTEDITABLE)
-r = run_event_on_crash_data(cd, "post-create", log_function)
+r = run_event_on_problem_data(cd, "post-create", log_function)
print "Result:", r