testing: refactor set_representation_colorspace to address new inputs

This commit is contained in:
Jakub Jezek 2023-01-11 17:32:11 +01:00
parent 5cab4d0501
commit 54f04dd7de
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -167,13 +167,13 @@ class TestPipelinePublishPlugins(TestPipeline):
plugin = publish_plugins.ExtractorColormanaged()
plugin.set_representation_colorspace(
representation_nuke, context,
config_data_nuke, file_rules_nuke
colorspace_settings=(config_data_nuke, file_rules_nuke)
)
# load plugin function for testing
plugin = publish_plugins.ExtractorColormanaged()
plugin.set_representation_colorspace(
representation_hiero, context,
config_data_hiero, file_rules_hiero
colorspace_settings=(config_data_hiero, file_rules_hiero)
)
colorspace_data_nuke = representation_nuke.get("colorspaceData")