mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-14 01:04:45 +03:00
fix function names for pytest
This commit is contained in:
parent
f5c47ebe12
commit
58719fb160
|
@ -1,13 +1,13 @@
|
||||||
from .helper import assert_image_equal, assert_image_similar, hopper
|
from .helper import assert_image_equal, assert_image_similar, hopper
|
||||||
|
|
||||||
|
|
||||||
def check_upload_equal():
|
def test_upload_equal():
|
||||||
result = hopper("P").convert("RGB")
|
result = hopper("P").convert("RGB")
|
||||||
target = hopper("RGB")
|
target = hopper("RGB")
|
||||||
assert_image_equal(result, target)
|
assert_image_equal(result, target)
|
||||||
|
|
||||||
|
|
||||||
def check_upload_similar():
|
def test_upload_similar():
|
||||||
result = hopper("P").convert("RGB")
|
result = hopper("P").convert("RGB")
|
||||||
target = hopper("RGB")
|
target = hopper("RGB")
|
||||||
assert_image_similar(result, target, 0)
|
assert_image_similar(result, target, 0)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user