Author: bugman Date: Sun Jun 16 18:20:32 2013 New Revision: 20155 URL: http://svn.gna.org/viewcvs/relax?rev=20155&view=rev Log: Added a printout to the unit_test_runner.py if the TestCase class cannot be found. This normally continued the test loading silently without warning that the TestCase class name is missing or incorrect. Modified: trunk/test_suite/unit_tests/unit_test_runner.py Modified: trunk/test_suite/unit_tests/unit_test_runner.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/unit_test_runner.py?rev=20155&r1=20154&r2=20155&view=diff ============================================================================== --- trunk/test_suite/unit_tests/unit_test_runner.py (original) +++ trunk/test_suite/unit_tests/unit_test_runner.py Sun Jun 16 18:20:32 2013 @@ -378,6 +378,9 @@ test_case = load_test_case(dir_path, module_name, class_name) if test_case != None: self.suite.addTest(test_case) + else: + print("RelaxError: Cannot find the '%s' TestCase class in the '%s' file! Make sure it is correctly named." % (class_name, os.path.join(dir_path, file_name))) + class Unit_test_runner(object):