code: def test_cross_val_metrics(self):
      # Given / When
      cross_val_metrics(
          str(self.beverage_dataset_path), str(self.tmp_file_path)
      )
  
      # Then
      if not self.tmp_file_path.exists():
          self.fail("No metrics found")
  
imports: import io
  import shutil
  import sys
  import tempfile
  from mock import patch
  from snips_nlu.__about__ import __model_version__, __version__
  from snips_nlu.cli import get_arg_parser
  from snips_nlu.cli.generate_dataset import generate_dataset
  from snips_nlu.cli.inference import parse
  from snips_nlu.cli.metrics import cross_val_metrics, train_test_metrics
  from snips_nlu.cli.training import train
  from snips_nlu.common.utils import unicode_string, json_string
  from snips_nlu.dataset import Dataset
  from snips_nlu.nlu_engine import SnipsNLUEngine
  from snips_nlu.tests.utils import SnipsTest, TEST_PATH, redirect_stdout
label_desc: Use image node_id 7 for calling the TestCLI obj's underlying member method code with example usage: obj.test_cross_val_metrics() without return types