Skip to content

Commit

Permalink
tests: add aux_images to options_test
Browse files Browse the repository at this point in the history
  • Loading branch information
johncf committed Oct 14, 2024
1 parent 0b95e0e commit 62f733f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/options_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def test_options_change_from_plugin_registering(register_opener):
save_to_12bit=True,
decode_threads=3,
depth_images=False,
aux_images=False,
save_nclx_profile=False,
preferred_encoder={"HEIF": "id1", "AVIF": "id2"},
preferred_decoder={"HEIF": "id3", "AVIF": "id4"},
Expand All @@ -41,6 +42,7 @@ def test_options_change_from_plugin_registering(register_opener):
assert options.SAVE_HDR_TO_12_BIT
assert options.DECODE_THREADS == 3
assert options.DEPTH_IMAGES is False
assert options.AUX_IMAGES is False
assert options.SAVE_NCLX_PROFILE is False
assert options.PREFERRED_ENCODER == {"HEIF": "id1", "AVIF": "id2"}
assert options.PREFERRED_DECODER == {"HEIF": "id3", "AVIF": "id4"}
Expand All @@ -50,6 +52,7 @@ def test_options_change_from_plugin_registering(register_opener):
options.SAVE_HDR_TO_12_BIT = False
options.DECODE_THREADS = 4
options.DEPTH_IMAGES = True
options.AUX_IMAGES = True
options.SAVE_NCLX_PROFILE = True
options.PREFERRED_ENCODER = {"HEIF": "", "AVIF": ""}
options.PREFERRED_DECODER = {"HEIF": "", "AVIF": ""}
Expand Down

0 comments on commit 62f733f

Please sign in to comment.