Ejemplo n.º 1
0
 def read(self, path, text):
     document = base.parse_xml(path, text)
     test_suites = base.TestSuites()
     for element in document.getElementsByTagName('TestSuite'):
         try:
             test_suites.append(self.read_test_suite(path, element))
         except base.FormatHandlerError, error:
             test_suites.extend(error.format())
Ejemplo n.º 2
0
 def read(self, path, text):
     document = base.parse_xml(path, text)
     test_suites = base.TestSuites()
     for element in document.getElementsByTagName('TestSuite'):
         try:
             test_suites.append(self.read_test_suite(path, element))
         except base.FormatHandlerError, error:
             test_suites.extend(error.format())
Ejemplo n.º 3
0
 def read(self, path, text):
     document = base.parse_xml(path, text)
     test_suites = base.TestSuites()
     for element in document.getElementsByTagName('testsuite'):
         test_suites.append(self.read_test_suite(path, element))
     return test_suites
Ejemplo n.º 4
0
 def read(self, path, text):
     document = base.parse_xml(path, text)
     test_suites = base.TestSuites()
     for element in document.getElementsByTagName('testsuite'):
         test_suites.append(self.read_test_suite(path, element))
     return test_suites