Changeset 1512
- Timestamp:
- 12/10/06 23:56:48
- Files:
-
- branches/cherrypy-2.x/cherrypy/test/test.py (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/cherrypy-2.x/cherrypy/test/test.py
r1511 r1512 71 71 } 72 72 default_server = "wsgi" 73 port = 8080 73 74 74 75 def __init__(self, available_tests, args=sys.argv[1:]): … … 84 85 self.profile = False 85 86 self.server = None 86 self.port = 808087 87 self.protocol = "HTTP/1.1" 88 88 … … 139 139 print """CherryPy Test Program 140 140 Usage: 141 test.py --server=* -- 1.1 --cover --basedir=path --profile --tests**142 143 """ 141 test.py --server=* --port=%s --1.1 --cover --basedir=path --profile --tests** 142 143 """ % self.__class__.port 144 144 print ' * servers:' 145 145 for name, val in self.available_servers.iteritems(): … … 151 151 print """ 152 152 153 --port=<int>: use a port other than the default (%s) 153 154 --1.1: use HTTP/1.1 servers instead of default HTTP/1.0 154 155 … … 157 158 158 159 --profile: turn on profiling tool 159 """ 160 """ % self.__class__.port 160 161 161 162 print ' ** tests:'

