fixing tests

This commit is contained in:
Jakub Jezek 2023-08-31 11:46:48 +02:00
parent f7ce6406f9
commit 1e6f855e74
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -196,7 +196,7 @@ class TestPipelineColorspace(TestPipeline):
expected_nuke = "Camera Rec.709"
expected_hiero = "Gamma 2.2 Rec.709 - Texture"
nuke_colorspace = colorspace.get_imageio_colorspace_from_filepath(
nuke_colorspace = colorspace.get_colorspace_name_from_filepath(
nuke_filepath,
"nuke",
"test_project",
@ -205,7 +205,7 @@ class TestPipelineColorspace(TestPipeline):
assert expected_nuke == nuke_colorspace, (
f"Not matching colorspace {expected_nuke}")
hiero_colorspace = colorspace.get_imageio_colorspace_from_filepath(
hiero_colorspace = colorspace.get_colorspace_name_from_filepath(
hiero_filepath,
"hiero",
"test_project",
@ -229,7 +229,7 @@ class TestPipelineColorspace(TestPipeline):
# switch to python 2 compatibility mode
colorspace.CachedData.python3compatible = False
nuke_colorspace = colorspace.get_imageio_colorspace_from_filepath(
nuke_colorspace = colorspace.get_colorspace_name_from_filepath(
nuke_filepath,
"nuke",
"test_project",
@ -238,7 +238,7 @@ class TestPipelineColorspace(TestPipeline):
assert expected_nuke == nuke_colorspace, (
f"Not matching colorspace {expected_nuke}")
hiero_colorspace = colorspace.get_imageio_colorspace_from_filepath(
hiero_colorspace = colorspace.get_colorspace_name_from_filepath(
hiero_filepath,
"hiero",
"test_project",