tests/functional/commands/conftest.py
def unrelated_with_trials(family_with_trials, single_with_trials):
    """Create two unrelated experiments with all types of trials."""
    exp = experiment_builder.build(name="test_double_exp_child")

    Database().remove("trials", {"experiment": exp.id})
    Database().remove("experiments", {"_id": exp.id})
Create two unrelated experiments with all types of trials.
Create two unrelated experiments with all types of trials.
Create two unrelated experiments with all types of trials .
def unrelated_with_trials(family_with_trials, single_with_trials):
    exp = experiment_builder.build(name="test_double_exp_child")
    Database().remove("trials", {"experiment": exp.id})
    Database().remove("experiments", {"_id": exp.id})
def unrelated_with_trials ( family_with_trials , single_with_trials ) : exp = experiment_builder . build ( name = "test_double_exp_child" ) Database ( ) . remove ( "trials" , { "experiment" : exp . id } ) Database ( ) . remove ( "experiments" , { "_id" : exp . id } )
Create two unrelated experiments with all types of trials.
Create two unrelated experiments with all types of trials .
"""Create two unrelated experiments with all types of trials."""
family_with_trials
single_with_trials