Changeset 2042
- Timestamp:
- 06/18/09 08:19:25 (9 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/0.9/pylucid_project/tests/test_tools/test_runner.py
r2013 r2042 66 66 if verbosity: 67 67 print "\nContruct a test suite from all available tests." 68 if verbosity>=2: 69 print "Use test names: %r\n" % TEST_NAMES 68 70 69 71 test_suite = unittest.TestSuite() 70 71 72 72 73 for name in TEST_NAMES: … … 74 75 tests = unittest.defaultTestLoader.loadTestsFromName(name) 75 76 except AttributeError, err: 77 if err.message != "'module' object has no attribute 'tests'": 78 # Skip only if no tests available 79 raise 76 80 if verbosity>=2: 77 81 print "Skip %r: %s" % (name, err)