docstr: Test that trials are assigned to proper strategy
code: def test_routing(self):
      """Test that trials are assigned to proper strategy"""
      strategy = self.create_strategy()
      for status, expected_value in [
          ("broken", 1000),
          ("suspended", 100),
          ("reserved", 50),
      ]:
          assert (
              strategy.infer(
                  self.get_noncompleted_trial(status=status)
              ).objective.value
              == expected_value
          )
  
      strategy.observe(self.get_trials())
      for status, expected_value in [
          ("broken", 9),
          ("suspended", 9),
          ("reserved", 4.5),
      ]:
          assert (
              strategy.infer(
                  self.get_noncompleted_trial(status=status)
              ).objective.value
              == expected_value
          )
  
file_path: orion/tests/unittests/algo/test_parallel_strategy.py
imports: from orion.testing.algo import BaseParallelStrategyTests
label_desc: Use image node_id 1 for calling the TestStatusBasedParallelStrategy obj's underlying member method code with example usage: obj.test_routing() without return types