class_docstr: Test waiters from ``amazon/aws/waiters/dynamodb.json``.
class_docstr_tok: ["Test","waiters","from","``","amazon\/aws\/waiters\/dynamodb.json","``","."]
docstr: Test state transition from `in progress` to `failed` during init.
code: def test_export_table_to_point_in_time_failed(
      self, mock_describe_export
  ):
      """Test state transition from `in progress` to `failed` during init."""
      with mock.patch("boto3.client") as client:
          client.return_value = self.client
          mock_describe_export.side_effect = [
              self.describe_export(self.STATUS_IN_PROGRESS),
              self.describe_export(self.STATUS_FAILED),
          ]
          waiter = DynamoDBHook(aws_conn_id=None).get_waiter(
              "export_table", client=self.client
          )
          with pytest.raises(
              WaiterError, match='we matched expected path: "FAILED"'
          ):
              waiter.wait(
                  ExportArn="LoremIpsumissimplydummytextoftheprintingandtypesettingindustry",
                  WaiterConfig={"Delay": 0.01, "MaxAttempts": 3},
              )
  
imports: from __future__ import annotations
  import json
  from typing import Sequence
  from unittest import mock
  import boto3
  import pytest
  from botocore.exceptions import WaiterError
  from botocore.waiter import WaiterModel
  from moto import mock_eks
  from airflow.providers.amazon.aws.hooks.base_aws import AwsBaseHook
  from airflow.providers.amazon.aws.hooks.batch_client import BatchClientHook
  from airflow.providers.amazon.aws.hooks.dynamodb import DynamoDBHook
  from airflow.providers.amazon.aws.hooks.ecs import EcsClusterStates, EcsHook, EcsTaskDefinitionStates
  from airflow.providers.amazon.aws.hooks.eks import EksHook
  from airflow.providers.amazon.aws.hooks.emr import EmrHook
  from airflow.providers.amazon.aws.waiters.base_waiter import BaseBotoWaiter
label_desc: Use image node_id 6 for calling the TestCustomDynamoDBServiceWaiters obj's underlying member method code with example usage: obj.test_export_table_to_point_in_time_failed(mock_describe_export) without return types