1
Fork 0
mirror of https://github.com/Steffo99/flyingsnake.git synced 2024-12-21 22:24:19 +00:00

Update test_flyingsnake.py

This commit is contained in:
Steffo 2019-09-29 00:58:42 +02:00 committed by GitHub
parent db2dac01d5
commit e705ca6c4b
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,5 +7,5 @@ from PIL import Image
# Main integration test
def test_full_render():
runner = CliRunner()
result = runner.invoke(flyingsnake.flyingsnake, ["./Small_Example.wld", "./Small_Example_full.png"])
assert Image.open("./Small_Example_full.png") == Image.open("./Small_Example_full_prerendered.png")
result = runner.invoke(flyingsnake.flyingsnake, ["./tests/Small_Example.wld", "./tests/Small_Example_full.png"])
assert Image.open("./tests/Small_Example_full.png") == Image.open("./tests/Small_Example_full_prerendered.png")