Updated tests

This commit is contained in:
Rhet Turnbull
2020-10-03 13:57:46 -07:00
parent 4099253c8e
commit 9324d8e795

View File

@@ -1,7 +1,15 @@
""" test ImageConverter """
import os
import pytest
skip_test = "OSXPHOTOS_TEST_CONVERT" not in os.environ
pytestmark = pytest.mark.skipif(
skip_test, reason="Skip if running on GitHub actions, no GPU."
)
TEST_HEIC = "tests/test-images/IMG_3092.heic"
TEST_RAW = "tests/test-images/IMG_0476_2.CR2"
TEST_JPEG = "tests/test-images/IMG_3984.jpeg"