def METHOD_NAME(three_family_branch_with_trials):
    """Test that trials of parent experiment are not deleted"""
    assert len(setup_storage().fetch_experiments({})) == 3
    assert (
        len(setup_storage()._fetch_trials({"experiment": hsh("test_double_exp", 1)}))
        > 0
    )
    assert (
        len(
            setup_storage()._fetch_trials(
                {"experiment": hsh("test_double_exp_child", 1)}
            )
        )
        > 0
    )
    assert (
        len(
            setup_storage()._fetch_trials(
                {"experiment": hsh("test_double_exp_grand_child", 1)}
            )
        )
        > 0
    )
    execute("db rm -f test_double_exp_child --status *")
    # Make sure no experiments were deleted
    assert len(setup_storage().fetch_experiments({})) == 3
    # Make sure only trials of given experiment were deleted
    assert (
        len(setup_storage()._fetch_trials({"experiment": hsh("test_double_exp", 1)}))
        > 0
    )
    assert (
        len(
            setup_storage()._fetch_trials(
                {"experiment": hsh("test_double_exp_child", 1)}
            )
        )
        == 0
    )
    assert (
        len(
            setup_storage()._fetch_trials(
                {"experiment": hsh("test_double_exp_grand_child", 1)}
            )
        )
        == 0
    )