class_docstr: Test Benchmark creation
docstr: Test creation with not existing assessment parameters
docstr_tok: ["Test","creation","with","not","existing","assessment","parameters"]
code: def test_create_with_not_exist_targets_parameters(
      self, benchmark_config
  ):
      """Test creation with not existing assessment parameters"""
  
      benchmark_config["targets"][0]["assess"]["AverageResult"] = {
          "repetitions": 2,
          "idontexist": 100,
      }
  
      with OrionState(benchmarks=benchmark_config) as cfg:
          with pytest.raises(TypeError) as exc:
              get_or_create_benchmark(
                  cfg.storage, benchmark_config["name"]
              )
          assert (
              "__init__() got an unexpected keyword argument 'idontexist'"
              in str(exc.value)
          )
  
imports: import copy
  import logging
  import pytest
  import orion.benchmark.benchmark_client
  import orion.core
  from orion.benchmark.assessment import AverageResult
  from orion.benchmark.benchmark_client import get_or_create_benchmark
  from orion.benchmark.task import CarromTable, RosenBrock
  from orion.client import ExperimentClient
  from orion.core.utils.exceptions import NoConfigurationError
  from orion.executor.joblib_backend import Joblib
  from orion.storage.base import setup_storage
  from orion.testing.state import OrionState
label_desc: Use image node_id 8 for calling the TestCreateBenchmark obj's underlying member method code with example usage: obj.test_create_with_not_exist_targets_parameters(benchmark_config) without return types