def engine1(iodir): engine_path = os.path.join(iodir, 'engine_1.rse') return cio.rse_load(engine_path)[0]
def test_single_load(iodir): engine_path = os.path.join(iodir, 'engine_1.rse') engines = cio.rse_load(engine_path) assert len(engines) == 1