(wsgi_input)
| 398 | |
| 399 | |
| 400 | def check_input(wsgi_input): |
| 401 | for attr in ['read', 'readline', 'readlines', '__iter__']: |
| 402 | if not hasattr(wsgi_input, attr): |
| 403 | raise AssertionError( |
| 404 | "wsgi.input (%r) doesn't have the attribute %s" |
| 405 | % (wsgi_input, attr) |
| 406 | ) |
| 407 | |
| 408 | |
| 409 | def check_errors(wsgi_errors): |
no outgoing calls
no test coverage detected
searching dependent graphs…