Example #1
0
 def testTexMainFile(self):
     f = Mock(fileType = "tex", fname = "test.tex")
     lines = ["\\begin{document}"]
     res = texMainFile.check(f, lines) 
     assert(res.targets == "test.pdf" and res.command == config.latexCommand + " " + config.startFilePlaceholder)