Fix structure of mock container tree

Found during testing and tooling.
This commit is contained in:
Ghostkeeper 2019-09-27 15:26:14 +02:00
parent f33937eb7b
commit 4e8929a072
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276

View file

@ -35,7 +35,7 @@ def mock_container_tree() -> MagicMock:
"um3_aa4_pla_normal": MagicMock(
quality_type = "normal",
intents = {
"smooth": MagicMock(
"um3_aa4_pla_smooth_normal": MagicMock(
intent_category = "smooth",
getMetadata = MagicMock(return_value = mocked_intent_metadata[0])
)
@ -44,7 +44,7 @@ def mock_container_tree() -> MagicMock:
"um3_aa4_pla_abnorm": MagicMock(
quality_type = "abnorm",
intents = {
"strong": MagicMock(
"um3_aa4_pla_strong_abnorm": MagicMock(
intent_category = "strong",
getMetadata = MagicMock(return_value = mocked_intent_metadata[1])
)