diff --git a/capsul/pipeline/test/test_pipeline_workflow.py b/capsul/pipeline/test/test_pipeline_workflow.py index 1eaa474ef..8de160bba 100644 --- a/capsul/pipeline/test/test_pipeline_workflow.py +++ b/capsul/pipeline/test/test_pipeline_workflow.py @@ -152,9 +152,9 @@ def setUp(self): self.pipeline = self.capsul.executable(DummyPipeline) self.tmpdir = tempfile.mkdtemp() self.pipeline.input = osp.join(self.tmpdir, 'file_in.nii') - self.pipeline.output1 = osp.join(self.tmpdir, '/tmp/file_out1.nii') - self.pipeline.output2 = osp.join(self.tmpdir, '/tmp/file_out2.nii') - self.pipeline.output3 = osp.join(self.tmpdir, '/tmp/file_out3.nii') + self.pipeline.output1 = osp.join(self.tmpdir, 'file_out1.nii') + self.pipeline.output2 = osp.join(self.tmpdir, 'file_out2.nii') + self.pipeline.output3 = osp.join(self.tmpdir, 'file_out3.nii') def tearDown(self): try: diff --git a/capsul/pipeline/test/test_process_iteration.py b/capsul/pipeline/test/test_process_iteration.py index ae877fcd7..509643e86 100644 --- a/capsul/pipeline/test/test_process_iteration.py +++ b/capsul/pipeline/test/test_process_iteration.py @@ -102,6 +102,7 @@ def setUp(self): self.output_file = NamedTemporaryFile() self.output_file.close() self.pipeline.output_image = self.output_file.name + self.temp_files = [self.input_file.name, self.output_file.name] def tearDown(self): if hasattr(self, 'temp_files'):