def test_run_many_mp(version): root = ensure_eplus_root(eplus_url[version]) runner = EPlusRunner(root) samples = { key: ("tests/in_%s.idf" % version, "tests/in.epw") for key in range(8) } with joblib.parallel_backend("loky", n_jobs=-1): runner.run_many(samples, backup_strategy=None)
def test_serialize(version): root = ensure_eplus_root(eplus_url[version]) runner = EPlusRunner(root) pickle.loads(pickle.dumps(runner))
def test_run(version): root = ensure_eplus_root(eplus_url[version]) runner = EPlusRunner(root) return runner.run_one( "tests/in_%s.idf" % version, "tests/in.epw", backup_strategy=None )