Example #1
0
 def given_a_parser(self):
     self.parser = tools.ExceptionThrowingArgumentParser()
     self.xml = xml.XmlReporter()
     self.xml.setup_parser(self.parser)
Example #2
0
 def given_an_xml_reporter(self):
     self.xml = xml.XmlReporter()
     self.tempdir = tempfile.TemporaryDirectory()
     self.filename = os.path.join(self.tempdir.name, "output.xml")
     self.xml.path = self.filename
Example #3
0
 def given_an_xml_reporter(self):
     self.xml = xml.XmlReporter()