code: def test_acr_from_config(mock_default_azure_credential, monkeypatch):
      """Test AzureContainerRegistry class."""
      config = {"uri": "https://test.azurecr.io/repository"}
      acr = AzureContainerRegistry.from_config(config)
      assert acr.uri == "test.azurecr.io/repository"
      assert acr.registry_name == "test"
      assert acr.repo_name == "repository"
  
file_path: wandb/tests/pytest_tests/unit_tests/test_launch/test_registry/test_acr.py
imports: from unittest.mock import MagicMock
  import pytest
  from wandb.sdk.launch.errors import LaunchError
  from wandb.sdk.launch.registry.azure_container_registry import AzureContainerRegistry, ResourceNotFoundError
label_desc: Use image node_id 3 for calling a global function with example usage: test_acr_from_config(mock_default_azure_credential, monkeypatch) without return types