code: def test_insert_single_trial_default_value(storage, monkeypatch):
      """Try to insert a single trial using a default value"""
      monkeypatch.chdir(os.path.dirname(os.path.abspath(__file__)))
      monkeypatch.setattr("getpass.getuser", get_user_corneau)
  
      orion.core.cli.main(
          [
              "insert",
              "-n",
              "test_insert_normal",
              "-c",
              "./orion_config_random.yaml",
              "./black_box.py",
          ]
      )
  
      exp = list(
          storage.fetch_experiments({"name": "test_insert_normal"})
      )
      assert len(exp) == 1
      exp = exp[0]
      assert "_id" in exp
  
      trials = list(storage.fetch_trials(uid=exp["_id"]))
  
      assert len(trials) == 1
  
      trial = trials[0]
  
      assert trial.status == "new"
      assert trial.params["/x"] == 1
  
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 4 for calling a global function with example usage: test_insert_single_trial_default_value(storage, monkeypatch) without return types