code: def test_insert_two_hyperparameters(storage, monkeypatch):
      """Try to insert a single trial with two hyperparameters"""
      monkeypatch.chdir(os.path.dirname(os.path.abspath(__file__)))
      monkeypatch.setattr("getpass.getuser", get_user_corneau)
      orion.core.cli.main(
          [
              "insert",
              "-n",
              "test_insert_two_hyperparameters",
              "-c",
              "./orion_config_random.yaml",
              "./black_box.py",
              "-x=1",
              "-y=2",
          ]
      )
  
      exp = list(
          storage.fetch_experiments(
              {"name": "test_insert_two_hyperparameters"}
          )
      )
      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
      assert trial.params["/y"] == 2
  
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 8 for calling a global function with example usage: test_insert_two_hyperparameters(storage, monkeypatch) without return types