def METHOD_NAME(self):
    """
    验证webhook设置
    :return: None
    """
    headers = {'content-type': 'application/json'}
    self.assertTrue(
        requests.put(self.request_url_set_webhook + '0',
                     data=json.dumps({"url": "url", "enable": True}),
                     headers=headers).json())
    self.assertTrue(
        requests.put(self.request_url_set_webhook + '1',
                     data=json.dumps({"url": "url", "enable": True}),
                     headers=headers).json())
    resp = requests.get(self.request_url_query_webhook).json()
    self.assertEqual(resp.get("total"), 2)
    for webhook in resp.get("webhooks"):
        self.assertTrue(webhook.get("enable"))
        self.assertEqual(webhook.get("url"), "url")