diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-12-16 18:28:07 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-12-16 18:28:07 +0100 |
commit | 628fb1fbae2a9e3e8fc3add070bceb5557973029 (patch) | |
tree | 7e46ad228722cf5b6e7f4b54b9100d6cf638a135 /src/report-python/test_dd_create | |
parent | 93d5d8a317ec9294bbd6dcc6bd8baec0c2b63b1b (diff) | |
download | abrt-628fb1fbae2a9e3e8fc3add070bceb5557973029.tar.gz abrt-628fb1fbae2a9e3e8fc3add070bceb5557973029.tar.xz abrt-628fb1fbae2a9e3e8fc3add070bceb5557973029.zip |
create_dump_dir: add base_dir_name parameter.
This makes python wrappers more usable.
src/report-python/test_full demonstrates how pyhton
programs can run reporting now.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/report-python/test_dd_create')
-rwxr-xr-x | src/report-python/test_dd_create | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/report-python/test_dd_create b/src/report-python/test_dd_create index 71ab8de5..2ac97924 100755 --- a/src/report-python/test_dd_create +++ b/src/report-python/test_dd_create @@ -10,6 +10,7 @@ if dd: else: print "dd is zero" +print "name:", dd.name print "closing" dd.close() @@ -17,3 +18,8 @@ if dd: print "dd is nonzero" else: print "dd is zero" + +# Should fail here +dd.name = "qwe" + +print "Done" |