Browse Source

Fix structure of mock container tree

Found during testing and tooling.
Ghostkeeper 5 years ago
parent
commit
4e8929a072
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/TestIntentManager.py

+ 2 - 2
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])
                                         )