code: def test_delete_container_generic_exception(
      self, exc: type[Exception], caplog
  ):
      hook = WasbHook(wasb_conn_id=self.azure_shared_key_test)
      with mock.patch.object(WasbHook, "_get_container_client") as m:
          m.return_value.delete_container.side_effect = exc(
              "FakeException"
          )
          caplog.clear()
          caplog.set_level("ERROR")
          with pytest.raises(exc, match="FakeException"):
              hook.delete_container("mycontainer")
          assert "Error deleting container: mycontainer" in caplog.text
  
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  from azure.core.exceptions import ResourceNotFoundError
  from azure.storage.blob import BlobServiceClient
  from azure.storage.blob._models import BlobProperties
  from airflow.exceptions import AirflowException
  from airflow.models import Connection
  from airflow.providers.microsoft.azure.hooks.wasb import WasbHook
label_desc: Use image node_id 32 for calling the TestWasbHook obj's underlying member method code with example usage: obj.test_delete_container_generic_exception(exc, caplog) without return types