class_docstr: Test assessment ParallelAssessment
docstr: Test creation
docstr_tok: ["Test","creation"]
code: def test_creation(self):
      """Test creation"""
      pa1 = ParallelAssessment()
      assert pa1.workers == [1, 2, 4]
      assert pa1.repetitions == 3
  
      pa2 = ParallelAssessment(repetitions=2)
      assert pa2.workers == [1, 1, 2, 2, 4, 4]
      assert pa2.repetitions == 6
  
      pa3 = ParallelAssessment(executor="joblib", backend="threading")
      assert pa1.workers == [1, 2, 4]
      assert pa1.repetitions == 3
      assert pa3.get_executor(0).n_workers == 1
      assert pa3.get_executor(1).n_workers == 2
      assert pa3.get_executor(2).n_workers == 4
  
file_path: orion/tests/unittests/benchmark/test_assessments.py
imports: import plotly
  import pytest
  from orion.benchmark.assessment import AverageRank, AverageResult, ParallelAssessment
  from orion.testing import create_experiment, create_study_experiments
  from orion.testing.plotting import assert_durations_plot, assert_rankings_plot, assert_regrets_plot, asset_parallel_assessment_plot
label_desc: Use image node_id 1 for calling the TestParallelAssessment obj's underlying member method code with example usage: obj.test_creation() without return types