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) xsDataInput = XSDataInputReadMatrix.parseString(self.readAndParseFile(self.getDataInputFile())) self.inputFile = xsDataInput.getInputMatrixFile().getPath().getValue() self.loadTestImage([os.path.basename(self.inputFile) ])
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) xsDataInput = XSDataInputReadMatrix.parseString( self.readAndParseFile(self.getDataInputFile())) self.inputFile = xsDataInput.getInputMatrixFile().getPath().getValue() self.loadTestImage([os.path.basename(self.inputFile)])