diff options
Diffstat (limited to 'libreport/src/report-python/test_problem_data2')
-rw-r--r-- | libreport/src/report-python/test_problem_data2 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libreport/src/report-python/test_problem_data2 b/libreport/src/report-python/test_problem_data2 new file mode 100644 index 00000000..3d3692b9 --- /dev/null +++ b/libreport/src/report-python/test_problem_data2 @@ -0,0 +1,10 @@ +#!/usr/bin/python + +from report import * + +cd = problem_data() +cd.add("foo", "bar") + +print "foo:", cd.get("foo") +print "nonexistent:", cd.get("nonexistent") +print "done" |