(self)
| 169 | self.assertTrue(resp.body.startswith("<!DOCTYPE html>")) |
| 170 | |
| 171 | def test_proxy_issue_714(self): |
| 172 | client = WebhookClient(url="http://localhost:8888", proxy="http://invalid-host:9999") |
| 173 | with self.assertRaises(urllib.error.URLError): |
| 174 | client.send_dict({"text": "hello!"}) |
| 175 | |
| 176 | def test_user_agent_customization_issue_769(self): |
| 177 | client = WebhookClient( |
nothing calls this directly
no test coverage detected