Пример #1
0
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
Пример #2
0
 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)