Smarter way that tests handle default exceptions (unhandled errors) and also a cleanup on test exception classes.

From: rxaviers@br.ibm.com



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1899 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/bin/job_unittest.py b/client/bin/job_unittest.py
index fa23cb7..3d8abb7 100644
--- a/client/bin/job_unittest.py
+++ b/client/bin/job_unittest.py
@@ -312,7 +312,7 @@
         class MyError(error.TestError):
             pass
         real_error = MyError("this is the real error message")
-        unhandled_error = error.UnhandledError(real_error)
+        unhandled_error = error.UnhandledTestError(real_error)
 
         # set up the recording
         testname = "error_test"
@@ -346,7 +346,7 @@
         class MyError(Exception):
             pass
         real_error = MyError("this is the real error message")
-        unhandled_error = error.UnhandledError(real_error)
+        unhandled_error = error.UnhandledTestError(real_error)
         reason = first_line_comparator("Unhandled MyError: %s" % real_error)
 
         # set up the recording