Changeset 1266
- Timestamp:
- 08/22/06 12:19:26
- Files:
-
- trunk/cherrypy/test/test.py (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/test/test.py
r1263 r1266 73 73 } 74 74 default_server = "wsgi" 75 port = 8080 75 76 76 77 def __init__(self, available_tests, args=sys.argv[1:]): … … 86 87 self.profile = False 87 88 self.server = None 88 self.port = 808089 89 self.protocol = "HTTP/1.1" 90 90 … … 141 141 print """CherryPy Test Program 142 142 Usage: 143 test.py --server=* -- 1.0 --cover --basedir=path --profile --tests**144 145 """ 143 test.py --server=* --port=%s --1.0 --cover --basedir=path --profile --tests** 144 145 """ % self.__class__.port 146 146 print ' * servers:' 147 147 for name, val in self.available_servers.iteritems(): … … 153 153 print """ 154 154 155 --port=<int>: use a port other than the default (%s) 155 156 --1.0: use HTTP/1.0 servers instead of default HTTP/1.1 156 157 … … 159 160 160 161 --profile: turn on profiling tool 161 """ 162 """ % self.__class__.port 162 163 163 164 print ' ** tests:'

