def testExecute(self): """ Runs the plugin and then compares expected output with obtained output to verify that it executed correctly. """ self.run() # Checks the expected result strExpectedOutput = self.readAndParseFile (self.getReferenceDataOutputFile()) strObtainedOutput = self.readAndParseFile(self.m_edObtainedOutputDataFile) xsDataResultISPyBObtained = XSDataResultISPyB.parseString(strObtainedOutput) xsDataResultStatusListObtained = xsDataResultISPyBObtained.getResultStatus() EDVerbose.DEBUG("Checking obtained result...") for xsDataResultStatusObtained in xsDataResultStatusListObtained: EDAssert.equal(xsDataResultStatusObtained.getCode().getValue(), "ok")