@patch("twilio.rest.resources.base.Resource.request")
    def test_delete(self, req):
        resp = Mock()
        resp.content = ""
        resp.status_code = 204
        req.return_value = resp, {}

        app = Credential(list_resource, "IS123")
        app.delete()
        uri = "https://ip-messaging.twilio.com/v1/Credentials/IS123"
        req.assert_called_with("DELETE", uri)
Deleting a call should work
dataset/ETHPy150Open twilio/twilio-python/tests/ip_messaging/test_credentials.py/CredentialTest.test_delete