code: def test_poke_valid(
      self,
      mock_batch_client,
      batch_compute_environment_sensor: BatchComputeEnvironmentSensor,
  ):
      mock_batch_client.describe_compute_environments.return_value = {
          "computeEnvironments": [{"status": "VALID"}]
      }
      assert batch_compute_environment_sensor.poke({}) is True
      mock_batch_client.describe_compute_environments.assert_called_once_with(
          computeEnvironments=[ENVIRONMENT_NAME],
      )
  
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  from airflow.exceptions import AirflowException, AirflowSkipException, TaskDeferred
  from airflow.providers.amazon.aws.hooks.batch_client import BatchClientHook
  from airflow.providers.amazon.aws.sensors.batch import BatchComputeEnvironmentSensor, BatchJobQueueSensor, BatchSensor
  from airflow.providers.amazon.aws.triggers.batch import BatchJobTrigger
label_desc: Use image node_id 2 for calling the TestBatchComputeEnvironmentSensor obj's underlying member method code with example usage: obj.test_poke_valid(mock_batch_client, batch_compute_environment_sensor) without return types