code: def setUp(self):
      super(TestCLI, self).setUp()
      if not self.fixture_dir.exists():
          self.fixture_dir.mkdir()
  
      dataset_stream = io.StringIO(
          """
  ---
  type: intent
  name: MakeTea
  utterances:
    - make me a [beverage_temperature:Temperature](hot) cup of tea
    - make me [number_of_cups:snips/number](five) tea cups
    - i want [number_of_cups] cups of [beverage_temperature](boiling hot) tea pls
    - can you prepare [number_of_cups] cup of [beverage_temperature](cold) tea ?
  
  ---
  type: intent
  name: MakeCoffee
  utterances:
    - make me [number_of_cups:snips/number](one) cup of coffee please
    - brew [number_of_cups] cups of coffee
    - can you prepare [number_of_cups] cup of coffee"""
      )
      beverage_dataset = Dataset.from_yaml_files(
          "en", [dataset_stream]
      ).json
  
      self.beverage_dataset_path = (
          self.fixture_dir / "beverage_dataset.json"
      )
      if self.beverage_dataset_path.exists():
          self.beverage_dataset_path.unlink()
      with self.beverage_dataset_path.open(
          mode="w", encoding="utf8"
      ) as f:
          f.write(json_string(beverage_dataset))
  
      self.tmp_file_path = self.fixture_dir / next(
          tempfile._get_candidate_names()
      )
      while self.tmp_file_path.exists():
          self.tmp_file_path = self.fixture_dir / next(
              tempfile._get_candidate_names()
          )
  
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 1 for calling the TestCLI obj's underlying member method code with example usage: obj.setUp() without return types