class_docstr: Ways of Dimensions builder.
class_docstr_tok: ["Ways","of","Dimensions","builder","."]
docstr: Check that non registered names are good, as long as they are in
  `scipy.stats.distributions`.
docstr_tok: ["Check","that","non","registered","names","are","good",",","as","long","as","they","are","in","`","scipy.stats.distributions","`","."]
code: def test_build_a_good_integer(self, dimbuilder):
      """Check that non registered names are good, as long as they are in
      `scipy.stats.distributions`.
      """
      dim = dimbuilder.build("yolo3", "poisson(5)")
      assert isinstance(dim, Integer)
      assert dim.name == "yolo3"
      assert dim._prior_name == "poisson"
      assert isinstance(dim.prior, dists.poisson_gen)
  
imports: import pytest
  from scipy.stats import distributions
  from orion.algo.space import Categorical, Fidelity, Integer, Real
  from orion.core.io.space_builder import DimensionBuilder, SpaceBuilder
label_desc: Use image node_id 4 for calling the TestDimensionBuilder obj's underlying member method code with example usage: obj.test_build_a_good_integer(dimbuilder) without return types