code: def test_kaniko_builder_from_config(
      aws_environment, elastic_container_registry
  ):
      """Test that the kaniko builder correctly constructs the job spec for Azure."""
      config = {
          "type": "kaniko",
          "build-context-store": "s3://test-bucket/test-prefix",
          "destination": "12345678.dkr.ecr.us-east-1.amazonaws.com/test-repo",
      }
      builder = KanikoBuilder.from_config(
          config, aws_environment, elastic_container_registry
      )
      assert (
          builder.build_context_store == "s3://test-bucket/test-prefix"
      )
  
imports: import os
  from unittest.mock import MagicMock
  import boto3
  import kubernetes_asyncio
  import pytest
  import wandb
  from google.cloud import storage
  from wandb.sdk.launch._project_spec import EntryPoint, LaunchProject
  from wandb.sdk.launch.builder.kaniko_builder import KanikoBuilder, _wait_for_completion
  from wandb.sdk.launch.environment.aws_environment import AwsEnvironment
  from wandb.sdk.launch.environment.azure_environment import AzureEnvironment
  from wandb.sdk.launch.registry.azure_container_registry import AzureContainerRegistry
  from wandb.sdk.launch.registry.elastic_container_registry import ElasticContainerRegistry
label_desc: Use image node_id 11 for calling a global function with example usage: test_kaniko_builder_from_config(aws_environment, elastic_container_registry) without return types