class_docstr: Tests for the algo ASHA.
class_docstr_tok: ["Tests","for","the","algo","ASHA","."]
docstr: Test that suggest None when search space is empty
code: def test_suggest_in_finite_cardinality(self):
      """Test that suggest None when search space is empty"""
      space = Space()
      space.register(Integer("yolo1", "uniform", 0, 5))
      space.register(Fidelity("epoch", 1, 9, 3))
  
      asha = ASHA(space)
      for i in range(6):
          force_observe(
              asha,
              create_trial(
                  (1, i),
                  names=("epoch", "yolo1"),
                  types=("fidelity", "integer"),
                  results={"objective": i},
              ),
          )
  
      for i in range(2):
          force_observe(
              asha,
              create_trial(
                  (3, i),
                  names=("epoch", "yolo1"),
                  types=("fidelity", "integer"),
                  results={"objective": i},
              ),
          )
  
      assert asha.suggest(1) == []
  
imports: from __future__ import annotations
  import hashlib
  import logging
  from typing import ClassVar
  import numpy
  import pytest
  from test_hyperband import compare_registered_trial, create_rung_from_points, create_trial_for_hb, force_observe
  from orion.algo.asha import ASHA, ASHABracket, compute_budgets
  from orion.algo.hyperband import RungDict
  from orion.algo.space import Fidelity, Integer, Real, Space
  from orion.core.worker.primary_algo import SpaceTransform
  from orion.testing.algo import BaseAlgoTests, TestPhase
  from orion.testing.trial import create_trial
label_desc: Use image node_id 10 for calling the TestASHA obj's underlying member method code with example usage: obj.test_suggest_in_finite_cardinality() without return types