code: def test_data_validate_default_options(
      run_in_simple_project: Callable[..., RunResult],
      request: FixtureRequest,
  ):
      test_data_dir = Path(
          request.config.rootdir, "data", "test_moodbot", "data"
      )
      test_domain = Path(
          request.config.rootdir, "data", "test_moodbot", "domain.yml"
      )
      test_config = Path(
          request.config.rootdir, "data", "test_moodbot", "config.yml"
      )
  
      result = run_in_simple_project(
          "data",
          "validate",
          "--data",
          str(test_data_dir),
          "--domain",
          str(test_domain),
          "-c",
          str(test_config),
      )
  
      # should not raise any errors
      assert result.ret == 0
  
file_path: rasa/tests/cli/test_rasa_data.py
imports: import os
  from pathlib import Path
  from typing import Callable
  from _pytest.fixtures import FixtureRequest
  from _pytest.pytester import RunResult
  from rasa.shared.nlu.training_data.formats import RasaYAMLReader
  import rasa.shared.utils.io
  from tests.cli.conftest import RASA_EXE
label_desc: Use image node_id 8 for calling a global function with example usage: test_data_validate_default_options(run_in_simple_project, request) without return types