code: def azure_environment(mocker):
      """Fixture for AzureEnvironment class."""
      mocker.patch(
          "wandb.sdk.launch.environment.azure_environment.DefaultAzureCredential",
          MagicMock(),
      )
      config = {
          "environment": {
              "type": "azure",
          }
      }
      return AzureEnvironment.from_config(config)
  
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 1 for calling a global function with example usage: azure_environment(mocker) and returns: AzureEnvironment