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