def setUp(self): self.short_fl = file_list[0:5] self.CI = CompositeImage.CompositeImage() self.CI.getFilelist = mock.MagicMock(name="getFileList") self.CI.getFilelist.return_value = self.short_fl
def setUp(self): self.ci = CompositeImage.CompositeImage() CompositeImage.SingleImage = SingleImage_mock