def test_converter_docx_name(self): names = ["main.docx"] with self.assertRaises(ValueErrorLO): returned = Converter.output_name(names)
def test_converter_pdf_name(self): names = ["main.pdf"] with self.assertRaises(ValueErrorPdf): returned = Converter.output_name(names)
def test_converter_input_name(self): names = ["main.md"] returned = Converter.output_name(names) expected = "main.pdf" self.assertEqual(returned, expected)