code: def test_get_credentials_from_login(
      self, aws_access_key_id, aws_secret_access_key, aws_session_token
  ):
      mock_conn = mock_connection_factory(
          login=aws_access_key_id,
          password=aws_secret_access_key,
          extra={"aws_session_token": aws_session_token}
          if aws_session_token
          else None,
      )
  
      wrap_conn = AwsConnectionWrapper(conn=mock_conn)
      assert wrap_conn.aws_access_key_id == aws_access_key_id
      assert wrap_conn.aws_secret_access_key == aws_secret_access_key
      assert wrap_conn.aws_session_token == aws_session_token
  
imports: from __future__ import annotations
  import os
  from dataclasses import fields
  from unittest import mock
  import pytest
  from botocore import UNSIGNED
  from botocore.config import Config
  from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning
  from airflow.models import Connection
  from airflow.providers.amazon.aws.utils.connection_wrapper import AwsConnectionWrapper, _ConnectionMetadata
label_desc: Use image node_id 6 for calling the TestAwsConnectionWrapper obj's underlying member method code with example usage: obj.test_get_credentials_from_login(aws_access_key_id, aws_secret_access_key, aws_session_token) without return types