mirror of https://github.com/Nonannet/pyladoc.git
Tests update to write no files to tests/out it WRITE_RESULT_FILES = False
This commit is contained in:
parent
dba8f5997e
commit
b3c2f5e384
|
@ -169,6 +169,8 @@ def test_latex_render():
|
|||
f.write(doc.to_latex())
|
||||
|
||||
assert doc.to_pdf('tests/out/test_latex_render1.pdf', font_family='serif')
|
||||
else:
|
||||
assert doc.to_pdf('', font_family='serif') # Write only to temp folder
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
@ -103,6 +103,8 @@ def test_latex_render():
|
|||
f.write(doc.to_latex())
|
||||
|
||||
assert doc.to_pdf('tests/out/test_latex_render2.pdf', font_family='serif')
|
||||
else:
|
||||
assert doc.to_pdf('', font_family='serif') # Write only to temp folder
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in New Issue