def test_return_the_jmeter_report_reader(self): reader = select_reader_for("jmeter") self.assertIsInstance(reader, JMeterJSONReader)
def test_raise_an_exception_when_format_is_not_supported(self): with self.assertRaises(ReportFormatNotSupported): select_reader_for("unknown_format")
def test_return_the_junit_report_reader(self): reader = select_reader_for("junit") self.assertIsInstance(reader, JUnitXMLReader)