From 628fb1fbae2a9e3e8fc3add070bceb5557973029 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 16 Dec 2010 18:28:07 +0100 Subject: 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 --- src/report-python/test_dd_create | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/report-python/test_dd_create') 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" -- cgit