(wsgi_input)
| 358 | "PATH_INFO should be '/'") |
| 359 | |
| 360 | def check_input(wsgi_input): |
| 361 | for attr in ['read', 'readline', 'readlines', '__iter__']: |
| 362 | assert_(hasattr(wsgi_input, attr), |
| 363 | "wsgi.input (%r) doesn't have the attribute %s" |
| 364 | % (wsgi_input, attr)) |
| 365 | |
| 366 | def check_errors(wsgi_errors): |
| 367 | for attr in ['flush', 'write', 'writelines']: |
no test coverage detected
searching dependent graphs…