Exemplo n.º 1
0
 def setUp(self):
     self.pipeline = PipelineRemoteData()
Exemplo n.º 2
0
 def test_pipelinePassedThrough(self, mock_super):
     pipeline = PipelineRemoteData()
     pipeline.run(pipeline=('test_task', ))
     mock_super().run.assert_called_once_with(
         pipeline=('setup_local_fs', 'setup_webdav_client', 'pullremote',
                   'test_task', 'pushremote', 'cleanlocalfs'))
Exemplo n.º 3
0
 def setUp(self):
     os.mkdir(self._test_dir)
     self.pipeline = PipelineRemoteData()
Exemplo n.º 4
0
 def test_emptyPipeline(self, mock_super):
     pipeline = PipelineRemoteData()
     pipeline.run()
     mock_super().run.assert_called_once_with(
         pipeline=('setup_local_fs', 'setup_webdav_client', 'pullremote',
                   'pushremote', 'cleanlocalfs'))