Esempio n. 1
0
def test_conf_dict_load(experiment_tree):
    confs = _find_conf_files(experiment_tree.strpath)
    dicts = _read_conf_dicts(confs)
    assert(len(list(dicts)) == 10)
Esempio n. 2
0
def test_conf_discovery(experiment_tree):
    confs = _find_conf_files(experiment_tree.strpath)
    assert(len(list(confs)) == 10)
    for i, fh in enumerate(confs):
        assert(fh.name.endswith('conf.pkl'))