class_docstr: Test Study
docstr: Test to execute a study
docstr_tok: ["Test","to","execute","a","study"]
code: def test_execute(self, study):
      """Test to execute a study"""
      study.setup_experiments()
      study.execute()
      name = "benchmark007_AverageResult_RosenBrock_0_0"
      experiment = experiment_builder.build(name)
  
      assert len(experiment.fetch_trials()) == study.task.max_trials
  
      assert experiment is not None
  
imports: import plotly
  import pytest
  import orion.core.io.experiment_builder
  from orion.benchmark import Benchmark, Study
  from orion.benchmark.assessment import AverageRank, AverageResult
  from orion.benchmark.task import CarromTable, RosenBrock
  from orion.client.experiment import ExperimentClient
  from orion.testing import OrionState, create_study_experiments
label_desc: Use image node_id 4 for calling the TestStudy obj's underlying member method code with example usage: obj.test_execute(study) without return types