code: def test_client_test_mode_send_metrics_does_nothing():
      client = sherpa.Client(test_mode=True)
      trial = client.get_trial()
  
      assert trial.id == 1
      assert trial.parameters == {}
  
      client.send_metrics(trial=trial, iteration=1, objective=0.1)
  
file_path: sherpa/tests/test_database.py
imports: import os
  import pytest
  import sys
  import sherpa
  import sherpa.core
  import sherpa.schedulers
  import sherpa.database
  import logging
  import time
  import warnings
  from testing_utils import *
label_desc: Use image node_id 3 for calling a global function with example usage: test_client_test_mode_send_metrics_does_nothing() without return types