Changeset 1568
- Timestamp:
- 12/28/06 13:27:08
- Files:
-
- trunk/cherrypy/test/modpy.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/test/modpy.py
r1389 r1568 147 147 # must run the setup_server() function for the test. 148 148 # Then our process can run the actual test. 149 success = True 149 150 for testmod in self.tests: 150 151 try: 151 152 start(testmod, self.port, conf_template) 152 153 suite = webtest.ReloadingTestLoader().loadTestsFromName(testmod) 153 webtest.TerseTestRunner(verbosity=2).run(suite) 154 result = webtest.TerseTestRunner(verbosity=2).run(suite) 155 success &= result.wasSuccessful() 154 156 finally: 155 157 stop() 158 if success: 159 return 0 160 else: 161 return 1 156 162

