Beispiel #1
0
 def test_convertor_docx_name(self):
     names = ["main.docx"]
     with self.assertRaises(ValueErrorLO):
         returned = Convertor.output_name(names)
Beispiel #2
0
 def test_convertor_pdf_name(self):
     names = ["main.pdf"]
     with self.assertRaises(ValueErrorPdf):
         returned = Convertor.output_name(names)
Beispiel #3
0
 def test_convertor_input_name(self):
     names = ["main.md"]
     returned = Convertor.output_name(names)
     expected = "main.pdf"
     self.assertEqual(returned, expected)