def given_a_parser(self): self.parser = tools.ExceptionThrowingArgumentParser() self.xml = xml.XmlReporter() self.xml.setup_parser(self.parser)
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
def given_an_xml_reporter(self): self.xml = xml.XmlReporter()