code: def test_docker_builder_with_uri(mock_ecr_registry):
      docker_builder = DockerBuilder.from_config(
          {
              "type": "docker",
              "destination": "123456789012.dkr.ecr.us-east-1.amazonaws.com/my-repo",
          },
          None,
          None,
      )
      assert (
          docker_builder.registry
          == "123456789012.dkr.ecr.us-east-1.amazonaws.com/my-repo"
      )
  
imports: import pytest
  from wandb.sdk.launch.builder.docker_builder import DockerBuilder
label_desc: Use image node_id 2 for calling a global function with example usage: test_docker_builder_with_uri(mock_ecr_registry) without return types