code: def test_get_cluster_state(self, mock_conn) -> None:
      mock_conn.describe_clusters.return_value = {
          "clusters": [{"status": "ACTIVE"}]
      }
      assert (
          EcsHook().get_cluster_state(cluster_name="cluster_name")
          == "ACTIVE"
      )
  
file_path: airflow/tests/providers/amazon/aws/hooks/test_ecs.py
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  from airflow.providers.amazon.aws.exceptions import EcsOperatorError, EcsTaskFailToStart
  from airflow.providers.amazon.aws.hooks.ecs import EcsHook, should_retry, should_retry_eni
label_desc: Use image node_id 2 for calling the TestEksHooks obj's underlying member method code with example usage: obj.test_get_cluster_state(mock_conn) without return types