code: def test_no_name(capsys):
      """Try to run the command without providing an experiment name"""
      returncode = orion.core.cli.main(["insert", "--version", "1"])
      assert returncode == 1
  
      captured = capsys.readouterr().err
  
      assert captured == "Error: No name provided for the experiment.\n"
  
file_path: orion/tests/functional/commands/test_insert_command.py
imports: import os
  import pytest
  import orion.core.cli
label_desc: Use image node_id 11 for calling a global function with example usage: test_no_name(capsys) without return types