mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fixing tests
This commit is contained in:
parent
153810b919
commit
6ae7b41533
2 changed files with 7 additions and 7 deletions
|
|
@ -26,7 +26,7 @@ log = logging.getLogger(__name__)
|
|||
|
||||
|
||||
class TestPipelinePublishPlugins(TestPipeline):
|
||||
""" Testing Pipeline pubish_plugins.py
|
||||
""" Testing Pipeline publish_plugins.py
|
||||
|
||||
Example:
|
||||
cd to OpenPype repo root dir
|
||||
|
|
@ -37,7 +37,7 @@ class TestPipelinePublishPlugins(TestPipeline):
|
|||
# files are the same as those used in `test_pipeline_colorspace`
|
||||
TEST_FILES = [
|
||||
(
|
||||
"1d7t9_cVKeZRVF0ppCHiE5MJTTtTlJgBe",
|
||||
"1YinxOToVyAd3-jAMFgVf7EWQa2x8Ma-O",
|
||||
"test_pipeline_colorspace.zip",
|
||||
""
|
||||
)
|
||||
|
|
@ -140,7 +140,7 @@ class TestPipelinePublishPlugins(TestPipeline):
|
|||
config_data, file_rules = plugin.get_colorspace_settings(context)
|
||||
|
||||
assert config_data["template"] == expected_config_template, (
|
||||
"Returned config tempate is not "
|
||||
"Returned config template is not "
|
||||
f"matching {expected_config_template}"
|
||||
)
|
||||
assert file_rules == expected_file_rules, (
|
||||
|
|
@ -193,11 +193,11 @@ class TestPipelinePublishPlugins(TestPipeline):
|
|||
colorspace_data_hiero = representation_hiero.get("colorspaceData")
|
||||
|
||||
assert colorspace_data_nuke, (
|
||||
"Colorspace data were not created in prepresentation"
|
||||
"Colorspace data were not created in representation"
|
||||
f"matching {representation_nuke}"
|
||||
)
|
||||
assert colorspace_data_hiero, (
|
||||
"Colorspace data were not created in prepresentation"
|
||||
"Colorspace data were not created in representation"
|
||||
f"matching {representation_hiero}"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ class TestPipelineColorspace(TestPipeline):
|
|||
|
||||
TEST_FILES = [
|
||||
(
|
||||
"1d7t9_cVKeZRVF0ppCHiE5MJTTtTlJgBe",
|
||||
"1YinxOToVyAd3-jAMFgVf7EWQa2x8Ma-O",
|
||||
"test_pipeline_colorspace.zip",
|
||||
""
|
||||
)
|
||||
|
|
@ -120,7 +120,7 @@ class TestPipelineColorspace(TestPipeline):
|
|||
)
|
||||
assert config_data["template"] == expected_template, (
|
||||
f"Config template \'{config_data['template']}\' doesn't match "
|
||||
f"expected tempalte \'{expected_template}\'"
|
||||
f"expected template \'{expected_template}\'"
|
||||
)
|
||||
|
||||
def test_parse_colorspace_from_filepath(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue