'Test case for deleting resource without backing webhook.
Deleting a resource for which there is no backing webhook succeeds
silently.'

def test_delete_without_backing_webhook(self):

    self._setup_test_stack(self.webhook_template)
    resource = self.stack['my_webhook']
    del self.fake_auto_scale.webhooks['0']
    scheduler.TaskRunner(resource.delete)()
    self.assertEqual({}, self.fake_auto_scale.webhooks)
