fixing tests

This commit is contained in:
Jakub Jezek 2023-04-12 22:50:32 +02:00
parent 153810b919
commit 6ae7b41533
No known key found for this signature in database
GPG key ID: 730D7C02726179A7
2 changed files with 7 additions and 7 deletions

View file

@ -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}"
)

View file

@ -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(