Changeset 660
- Timestamp:
- 09/16/05 13:13:44
- Files:
-
- trunk/cherrypy/test/helper.py (modified) (1 diff)
- trunk/cherrypy/test/test.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/test/helper.py
r639 r660 26 26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 27 """ 28 29 # This is a library of helper functions for the CherryPy test suite. 30 # The actual script that runs the entire CP test suite is called 31 # "test.py" (in this folder); test.py calls this module as a library. 32 # 33 # GREAT CARE has been taken to separate this module from test.py, 34 # because different consumers of each have mutually-exclusive import 35 # requirements. So don't go moving functions from here into test.py, 36 # or vice-versa, unless you *really* know what you're doing. 37 # 38 # Usage: 39 # Each individual test_*.py module imports this module (helper), 40 # usually to make an instance of CPWebCase, and then call testmain(). 41 # 42 # The CP test suite script (test.py) imports this module and calls 43 # run_test_suite, possibly more than once. CP applications may also 44 # import test.py (to use TestHarness), which then calls helper.py. 45 28 46 29 47 import os, os.path trunk/cherrypy/test/test.py
r643 r660 26 26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 27 """ 28 29 # This is the actual script that runs the entire CP test suite. 30 # There is a library of helper functions for the CherryPy test suite, 31 # called "helper.py" (in this folder); this module calls that as a library. 32 # 33 # GREAT CARE has been taken to separate this module from helper.py, 34 # because different consumers of each have mutually-exclusive import 35 # requirements. So don't go moving functions from here into helper.py, 36 # or vice-versa, unless you *really* know what you're doing. 37 28 38 29 39 import sys

