code: def test_send_ses_email_no_from_mail(self, mock_hook):
      with pytest.raises(
          RuntimeError,
          match="The `from_email' configuration has to be set for the SES emailer.",
      ):
          send_email(
              to="to@test.com",
              subject="subject",
              html_content="content",
          )
  
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  from airflow.providers.amazon.aws.utils.emailer import send_email
label_desc: Use image node_id 2 for calling the TestSendEmailSes obj's underlying member method code with example usage: obj.test_send_ses_email_no_from_mail(mock_hook) without return types