def test_a_generate_xml_stub(self): info = StubInfo(self.test_xml_exec) info.outputfiles = [('quadrant', 2), ('master_dark', 2), ('control_params', 2)] info.inputfiles = ['corrected_frame', 'hot_pixels_map'] info.ram = 10 info.walltime = 2 info.cores = 1 self.generator.generate_stubs([info])
def test_e_generate_list_stub(self): info = StubInfo(self.test_list_exec, nodeType=NodeType.split) info.outputfiles = [('quadrants_list', 5)] info.inputfiles = ['exposures'] info.isParallelSplit = True info.ram = 10 info.walltime = 2 info.cores = 1 self.generator.generate_stubs([info])