(self)
| 135 | ) |
| 136 | |
| 137 | def test_request_length(self): |
| 138 | out, err = run_amock(data=b"GET " + (b"x" * 65537) + b" HTTP/1.0\n\n") |
| 139 | self.assertEqual(out.splitlines()[0], |
| 140 | b"HTTP/1.0 414 URI Too Long") |
| 141 | |
| 142 | def test_validated_hello(self): |
| 143 | out, err = run_amock(validator(hello_app)) |
nothing calls this directly
no test coverage detected