(self)
| 152 | self.assertEqual("ok", resp.body) |
| 153 | |
| 154 | def test_send_dict(self): |
| 155 | client = WebhookClient("http://localhost:8888") |
| 156 | resp: WebhookResponse = client.send_dict({"text": "hello!"}) |
| 157 | self.assertEqual(200, resp.status_code) |
| 158 | self.assertEqual("ok", resp.body) |
| 159 | |
| 160 | def test_timeout_issue_712(self): |
| 161 | client = WebhookClient(url="http://localhost:8888/timeout", timeout=1) |
nothing calls this directly
no test coverage detected