code: def test_tpm_rpm_updated():
      test_cache = DualCache()
      model_list = []
      lowest_tpm_logger = LowestTPMLoggingHandler(
          router_cache=test_cache, model_list=model_list
      )
      model_group = "gpt-3.5-turbo"
      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}}
      end_time = time.time()
      lowest_tpm_logger.log_success_event(
          response_obj=response_obj,
          kwargs=kwargs,
          start_time=start_time,
          end_time=end_time,
      )
      current_minute = datetime.now().strftime("%H-%M")
      tpm_count_api_key = f"{model_group}:tpm:{current_minute}"
      rpm_count_api_key = f"{model_group}:rpm:{current_minute}"
      assert (
          response_obj["usage"]["total_tokens"]
          == test_cache.get_cache(key=tpm_count_api_key)[deployment_id]
      )
      assert (
          1
          == test_cache.get_cache(key=rpm_count_api_key)[deployment_id]
      )
  
file_path: litellm/litellm/tests/test_tpm_rpm_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_tpm_rpm import LowestTPMLoggingHandler
  from litellm.caching import DualCache
label_desc: Use image node_id 1 for calling a global function with example usage: test_tpm_rpm_updated() without return types