Author: gnichols
Date: 2012-03-02 13:52:03 +0000 (Fri, 02 Mar 2012)
New Revision: 1189
Modified:
trunk/v7/report.py
Log:
799118 - FEAT: v7 should preserve SUT hardware information when results are removed
Modified: trunk/v7/report.py
===================================================================
--- trunk/v7/report.py 2012-03-02 13:51:34 UTC (rev 1188)
+++ trunk/v7/report.py 2012-03-02 13:52:03 UTC (rev 1189)
@@ -23,7 +23,7 @@
from v7.controller import Controller
from v7.command import Command, V7CommandException
from v7.hash import hashModule
-from v7.certificationtest import CertificationDocument
+from v7.certificationtest import ResultsDocument
from v7.environment import Environment
class Report(Controller):
@@ -204,7 +204,7 @@
# write the test plan and results xml to etc/v7
etcDirectory = submissionDirectory + "/etc/v7"
self.makeDirectoryPath(etcDirectory)
- resultsXML = CertificationDocument()
+ resultsXML = ResultsDocument()
resultsXML.load(os.path.join(self.options.data,
self.environment.getResultsFileName()))
resultsXML.compressToFile(os.path.join(etcDirectory,
self.environment.getResultsFileName()))
shutil.copy("/etc/v7.xml", os.path.join(etcDirectory,
"v7.xml")) # save v7 environment settings
Show replies by date