Duh. Height

This commit is contained in:
Raoul Snyman 2019-03-26 10:03:09 -07:00
parent 461ffeee3d
commit a69ff65bfc

View File

@ -159,7 +159,7 @@ class TestPdfController(TestCase, TestMixin):
else:
width, height = get_screen_resolution()
# Calculate the width of the PDF based on the aspect ratio of the PDF
width = int(round(width * 0.70703125, 0))
width = int(round(height * 0.70703125, 0))
assert image.height() == height, 'The height should be {height}'.format(height=height)
assert image.width() == width, 'The width should be {width}'.format(width=width)