##// END OF EJS Templates
FIXED postprocessor test typos
Jonathan Frederic -
Show More
@@ -41,22 +41,23 b' class TestPDF(TestsBase):'
41 41 """Contains test functions for pdf.py"""
42 42
43 43
44 def test_constructor():
44 def test_constructor(self):
45 45 """Can a PDFPostProcessor be constructed?"""
46 46 PDFPostProcessor()
47 47
48 48
49 49 @dec.onlyif_cmds_exist('pdflatex')
50 def test_pdf():
50 def test_pdf(self):
51 51 """Can a PDF be made using the PDFPostProcessor?"""
52 52
53 53 # Work in a temporary directory with hello world latex in it.
54 with self.create_temp_cwd()
54 with self.create_temp_cwd():
55 55 with open('a.tex', 'w') as f:
56 56 f.write(HELLO_WORLD)
57 57
58 58 # Construct post-processor
59 59 processor = PDFPostProcessor()
60 processor.verbose = False
60 61 processor('a.tex')
61 62
62 63 # Check that the PDF was created.
@@ -26,6 +26,6 b' class TestServe(TestsBase):'
26 26 """Contains test functions for serve.py"""
27 27
28 28
29 def test_constructor():
29 def test_constructor(self):
30 30 """Can a ServePostProcessor be constructed?"""
31 31 ServePostProcessor()
General Comments 0
You need to be logged in to leave comments. Login now