def preProcess(self):
        """
        PreProcess of the execution test: download a set of images  from http://www.edna-site.org
        and delete any output file
        """
        EDTestCasePluginExecute.preProcess(self)
        self.loadTestImage(["test_region1_dark_1_0040.edf", "inverted.edf"])

        if not os.path.isdir(destDir):
            os.makedirs(destDir)
        EDShare[XSDataInputMatrixInvertv2.parseFile(self.getDataInputFile()).inputMatrix.shared.value] = fabio.open(
            os.path.join(self.getTestsDataImagesHome(), "test_region1_dark_1_0040.edf")
        ).data
    def preProcess(self):
        """
        PreProcess of the execution test: download a set of images  from http://www.edna-site.org
        and delete any output file
        """
        EDTestCasePluginExecute.preProcess(self)
        self.loadTestImage(["test_region1_dark_1_0040.edf", 'inverted.edf'])

        if not os.path.isdir(destDir):
            os.makedirs(destDir)
        EDShare[XSDataInputMatrixInvertv2.parseFile(
            self.getDataInputFile()).inputMatrix.shared.value] = fabio.open(
                os.path.join(self.getTestsDataImagesHome(),
                             "test_region1_dark_1_0040.edf")).data