class_docstr: Test creation of experiment with `client.create_experiment()`
class_docstr_tok: ["Test","creation","of","experiment","with","`","client.create_experiment","(",")","`"]
docstr: Test creating a new experiment by specifying all attributes.
docstr_tok: ["Test","creating","a","new","experiment","by","specifying","all","attributes","."]
code: def test_create_experiment_new_full_config(self, user_config):
      """Test creating a new experiment by specifying all attributes."""
      with OrionState() as cfg:
          experiment = create_experiment(
              **user_config, storage=cfg.storage_config
          )
  
          exp_config = experiment.configuration
  
          assert exp_config["space"] == config["space"]
          assert exp_config["max_trials"] == config["max_trials"]
          assert exp_config["max_broken"] == config["max_broken"]
          assert exp_config["working_dir"] == config["working_dir"]
          assert exp_config["algorithm"] == config["algorithm"]
  
imports: import copy
  import json
  from importlib import reload
  import pytest
  import orion.client
  import orion.client.cli
  import orion.core
  from orion.algo.random import Random
  from orion.client import get_experiment
  from orion.client.experiment import ExperimentClient
  from orion.core.io.database.ephemeraldb import EphemeralDB
  from orion.core.io.database.pickleddb import PickledDB
  from orion.core.utils.exceptions import BranchingEvent, NoConfigurationError, RaceCondition, UnsupportedOperation
  from orion.storage.base import setup_storage
  from orion.storage.legacy import Legacy
  from orion.testing import OrionState
label_desc: Use image node_id 5 for calling the TestCreateExperiment obj's underlying member method code with example usage: obj.test_create_experiment_new_full_config(user_config) without return types