def testExecute(self): self.run() # Checks the expected result strExpectedOutput = self.readAndParseFile (self.getReferenceDataOutputFile()) from XSDataRaddosev10 import XSDataRaddoseOutput xsDataOutputExpected = XSDataRaddoseOutput.parseString(strExpectedOutput) xsDataOutputObtained = self.getPlugin().getDataOutput()
def testExecute(self): self.run() # Checks the expected result strExpectedOutput = self.readAndParseFile( self.getReferenceDataOutputFile()) from XSDataRaddosev10 import XSDataRaddoseOutput xsDataOutputExpected = XSDataRaddoseOutput.parseString( strExpectedOutput) xsDataOutputObtained = self.getPlugin().getDataOutput()
def testExecute(self): self.run() if self.getPlugin().findStringInLog("version 2"): self.setReferenceDataOutputFile(os.path.join(self.getPluginTestsDataHome(), "XSDataRaddosev10Output_reference_Raddosev2.xml")) # Checks the expected result strExpectedOutput = self.readAndParseFile (self.getReferenceDataOutputFile()) from XSDataRaddosev10 import XSDataRaddoseOutput xsDataOutputExpected = XSDataRaddoseOutput.parseString(strExpectedOutput) xsDataOutputObtained = self.getPlugin().getDataOutput() EDAssert.equal(xsDataOutputExpected.marshal(), xsDataOutputObtained.marshal())
def testExecute(self): self.run() if self.getPlugin().findStringInLog("version 2"): self.setReferenceDataOutputFile( os.path.join(self.getPluginTestsDataHome(), "XSDataRaddosev10Output_reference_Raddosev2.xml")) # Checks the expected result strExpectedOutput = self.readAndParseFile( self.getReferenceDataOutputFile()) from XSDataRaddosev10 import XSDataRaddoseOutput xsDataOutputExpected = XSDataRaddoseOutput.parseString( strExpectedOutput) xsDataOutputObtained = self.getPlugin().getDataOutput() EDAssert.equal(xsDataOutputExpected.marshal(), xsDataOutputObtained.marshal())