MCPcopy Index your code
hub / github.com/python/cpython / test_validated_hello

Method test_validated_hello

Lib/test/test_wsgiref.py:142–145  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

140 b"HTTP/1.0 414 URI Too Long")
141
142 def test_validated_hello(self):
143 out, err = run_amock(validator(hello_app))
144 # the middleware doesn't support len(), so content-length isn't there
145 self.check_hello(out, has_length=False)
146
147 def test_simple_validation_error(self):
148 def bad_app(environ,start_response):

Callers

nothing calls this directly

Calls 3

check_helloMethod · 0.95
validatorFunction · 0.90
run_amockFunction · 0.85

Tested by

no test coverage detected