split heifload / heifsave tests

to allow building with the de265 decoder, but not the GPL ffmpeg x265 encoder
This commit is contained in:
John Cupitt 2019-05-08 20:42:38 +01:00
parent d5ca1ddfd4
commit b680d9f833

View File

@ -843,6 +843,9 @@ class TestForeign:
self.file_loader("heifload", HEIC_FILE, heif_valid)
self.buffer_loader("heifload_buffer", HEIC_FILE, heif_valid)
@skip_if_no("heifsave")
def test_heifsave(self):
self.save_load_buffer("heifsave_buffer", "heifload_buffer",
self.colour, 80)
self.save_load("%s.heic", self.colour)