docstr: Test that if Variable key is looked up in AWS Secrets Manager
docstr_tok: ["Test","that","if","Variable","key","is","looked","up","in","AWS","Secrets","Manager"]
code: def test_config_lookup_pattern(
      self,
      mock_client,
      config_key,
      config_lookup_pattern,
      num_client_calls,
  ):
      """
      Test that if Variable key is looked up in AWS Secrets Manager
      """
      mock_client().get_secret_value.return_value = {
          "SecretString": None
      }
      kwargs = {"config_lookup_pattern": config_lookup_pattern}
  
      secrets_manager_backend = SecretsManagerBackend(**kwargs)
      secrets_manager_backend.get_config(config_key)
      assert (
          mock_client().get_secret_value.call_count == num_client_calls
      )
  
imports: from __future__ import annotations
  import json
  from unittest import mock
  import pytest
  from moto import mock_secretsmanager
  from airflow.providers.amazon.aws.secrets.secrets_manager import SecretsManagerBackend
label_desc: Use image node_id 16 for calling the TestSecretsManagerBackend obj's underlying member method code with example usage: obj.test_config_lookup_pattern(mock_client, config_key, config_lookup_pattern, num_client_calls) without return types