From 4e8929a07236bb05366a4c620427f7f30435d54f Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 27 Sep 2019 15:26:14 +0200 Subject: [PATCH] Fix structure of mock container tree Found during testing and tooling. --- tests/TestIntentManager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestIntentManager.py b/tests/TestIntentManager.py index aeb21263a8..17d102b5ef 100644 --- a/tests/TestIntentManager.py +++ b/tests/TestIntentManager.py @@ -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]) )