code: def test_get_available_deployments():
      test_cache = DualCache()
      model_list = [
          {
              "model_name": "gpt-3.5-turbo",
              "litellm_params": {"model": "azure/chatgpt-v-2"},
              "model_info": {"id": "1234"},
          },
          {
              "model_name": "gpt-3.5-turbo",
              "litellm_params": {"model": "azure/chatgpt-v-2"},
              "model_info": {"id": "5678"},
          },
      ]
      lowest_latency_logger = LowestLatencyLoggingHandler(
          router_cache=test_cache, model_list=model_list
      )
      model_group = "gpt-3.5-turbo"
      ## DEPLOYMENT 1 ##
      deployment_id = "1234"
      kwargs = {
          "litellm_params": {
              "metadata": {
                  "model_group": "gpt-3.5-turbo",
                  "deployment": "azure/chatgpt-v-2",
              },
              "model_info": {"id": deployment_id},
          }
      }
      start_time = time.time()
      response_obj = {"usage": {"total_tokens": 50}}
      time.sleep(3)
      end_time = time.time()
      lowest_latency_logger.log_success_event(
          response_obj=response_obj,
          kwargs=kwargs,
          start_time=start_time,
          end_time=end_time,
      )
      ## DEPLOYMENT 2 ##
      deployment_id = "5678"
      kwargs = {
          "litellm_params": {
              "metadata": {
                  "model_group": "gpt-3.5-turbo",
                  "deployment": "azure/chatgpt-v-2",
              },
              "model_info": {"id": deployment_id},
          }
      }
      start_time = time.time()
      response_obj = {"usage": {"total_tokens": 20}}
      time.sleep(2)
      end_time = time.time()
      lowest_latency_logger.log_success_event(
          response_obj=response_obj,
          kwargs=kwargs,
          start_time=start_time,
          end_time=end_time,
      )
  
      ## CHECK WHAT'S SELECTED ##
      print(
          lowest_latency_logger.get_available_deployments(
              model_group=model_group, healthy_deployments=model_list
          )
      )
      assert (
          lowest_latency_logger.get_available_deployments(
              model_group=model_group, healthy_deployments=model_list
          )["model_info"]["id"]
          == "5678"
      )
  
file_path: litellm/litellm/tests/test_lowest_latency_routing.py
imports: import sys, os, asyncio, time, random
  from datetime import datetime
  import traceback
  from dotenv import load_dotenv
  import os
  import pytest
  from litellm import Router
  import litellm
  from litellm.router_strategy.lowest_latency import LowestLatencyLoggingHandler
  from litellm.caching import DualCache
label_desc: Use image node_id 3 for calling a global function with example usage: test_get_available_deployments() without return types