class_docstr: Test Study
docstr: Test to get status of a study
docstr_tok: ["Test","to","get","status","of","a","study"]
code: def test_status(
      self,
      orionstate,
      study,
      study_experiments_config,
      task_number,
      max_trial,
  ):
      """Test to get status of a study"""
      experiments = create_study_experiments(
          orionstate, **study_experiments_config
      )
  
      study.experiments_info = list(enumerate(experiments))
  
      assert study.status() == [
          {
              "algorithm": "random",
              "assessment": "AverageResult",
              "task": "RosenBrock",
              "experiments": task_number,
              "completed": task_number,
              "trials": task_number * max_trial,
          },
          {
              "algorithm": "tpe",
              "assessment": "AverageResult",
              "task": "RosenBrock",
              "experiments": task_number,
              "completed": task_number,
              "trials": task_number * max_trial,
          },
      ]
  
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 5 for calling the TestStudy obj's underlying member method code with example usage: obj.test_status(orionstate, study, study_experiments_config, task_number, max_trial) without return types