tests/functional/commands/conftest.py
def three_experiments_family(two_experiments, db_instance):
    """Create three experiments, one of which is the parent of the other two."""
    orion.core.cli.main(
        [
            "hunt",
            "--init-only",
            "-n",
            "test_double_exp",
            "--branch-to",
            "test_double_exp_child2",
            "./black_box.py",
            "--x~+uniform(0,1,default_value=0)",
            "--z~+uniform(0,1,default_value=0)",
        ]
    )
    ensure_deterministic_id("test_double_exp_child2", db_instance)
Create three experiments, one of which is the parent of the other two.
Create three experiments, one of which is the parent of the other two.
Create three experiments one of which is the parent of the other two .
def three_experiments_family(two_experiments, db_instance):
    orion.core.cli.main(
        [
            "hunt",
            "--init-only",
            "-n",
            "test_double_exp",
            "--branch-to",
            "test_double_exp_child2",
            "./black_box.py",
            "--x~+uniform(0,1,default_value=0)",
            "--z~+uniform(0,1,default_value=0)",
        ]
    )
    ensure_deterministic_id("test_double_exp_child2", db_instance)
def three_experiments_family ( two_experiments , db_instance ) : orion . core . cli . main ( [ "hunt" , "--init-only" , "-n" , "test_double_exp" , "--branch-to" , "test_double_exp_child2" , "./black_box.py" , "--x~+uniform(0,1,default_value=0)" , "--z~+uniform(0,1,default_value=0)" , ] ) ensure_deterministic_id ( "test_double_exp_child2" , db_instance )
Create three experiments, one of which is the parent of the other two.
Create three experiments one of which is the parent of the other two .
"""Create three experiments, one of which is the parent of the other two."""
two_experiments
db_instance