(self)
| 158 | self.assertEqual("ok", resp.body) |
| 159 | |
| 160 | def test_timeout_issue_712(self): |
| 161 | client = WebhookClient(url="http://localhost:8888/timeout", timeout=1) |
| 162 | with self.assertRaises(socket.timeout): |
| 163 | client.send_dict({"text": "hello!"}) |
| 164 | |
| 165 | def test_error_response(self): |
| 166 | client = WebhookClient(url="http://localhost:8888/error") |
nothing calls this directly
no test coverage detected