Files
knowit_julekalender-2018/tests/test_luke04.py
2018-12-04 22:15:53 +01:00

13 lines
328 B
Python

import os
from PIL import Image
from luke_04.LSB import main
path = os.path.dirname(__file__)
def test_answer():
solution_path = os.path.join(path, 'images/solution-pokemon_jakt.png')
solution_image = Image.open(solution_path)
answer_image = Image.open(main())
assert solution_image.tobytes == answer_image.tobytes