TEST extend tests for larger images (grayscale)
This commit is contained in:
parent
6b56de67a7
commit
5b5c2c0dba
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
|
@ -36,3 +36,15 @@ def test_function_image_with_50x50_png():
|
||||||
"""test the image function with 50x50.png (grayscale png)"""
|
"""test the image function with 50x50.png (grayscale png)"""
|
||||||
instance = printer.File(devfile=devfile)
|
instance = printer.File(devfile=devfile)
|
||||||
instance.image("test/50x50.png")
|
instance.image("test/50x50.png")
|
||||||
|
|
||||||
|
@with_setup(setup_testfile, teardown_testfile)
|
||||||
|
def test_function_image_with_255x255_png():
|
||||||
|
"""test the image function with 255x255.png (grayscale png)"""
|
||||||
|
instance = printer.File(devfile=devfile)
|
||||||
|
instance.image("test/255x255.png")
|
||||||
|
|
||||||
|
@with_setup(setup_testfile, teardown_testfile)
|
||||||
|
def test_function_image_with_400x400_png():
|
||||||
|
"""test the image function with 400x400.png (grayscale png)"""
|
||||||
|
instance = printer.File(devfile=devfile)
|
||||||
|
instance.image("test/400x400.png")
|
||||||
|
|
Loading…
Reference in New Issue