class TestPipeline(unittest.TestCase): def setUp(self): with open(CONFIG_FILE) as in_handle: self.config = yaml.load(in_handle) self.input_files = self.config["input"] self.pipeline = GenericPipeline(self.input_files, self.config) def test_pipeline(self): for out_files in self.pipeline.process(): print out_files
def setUp(self): with open(CONFIG_FILE) as in_handle: self.config = yaml.load(in_handle) self.input_files = self.config["input"] self.pipeline = GenericPipeline(self.input_files, self.config)