1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-04 07:57:52 +03:00

Test deprecated -o option

This commit is contained in:
Guillaume Ayoub 2021-08-06 18:14:13 +02:00
parent 143565e08d
commit ebd1064984

View File

@ -375,6 +375,7 @@ def test_command_line_render(tmpdir):
_run('not_optimized.html out20.pdf -O none')
_run('not_optimized.html out21.pdf -O none -O all')
_run('not_optimized.html out22.pdf -O all -O none')
_run('not_optimized.html out23.pdf -o')
# TODO: test that equivalent CLI options give equivalent PDF sizes,
# unfortunately font optimization makes PDF generation not reproducible
assert (