diff options
author | Lipu Fei <lipu.fei815@gmail.com> | 2019-10-01 12:30:54 +0300 |
---|---|---|
committer | Lipu Fei <lipu.fei815@gmail.com> | 2019-10-01 12:30:54 +0300 |
commit | f867f3485efe60a667fa7e480e1f128c40356e13 (patch) | |
tree | feba9f94d01c10996441cf34a2c7143915cd7721 /tests/TestIntentManager.py | |
parent | bc524b2c149ea93c79b78a9178395a802a52f801 (diff) |
Fix TestIntentManager
Diffstat (limited to 'tests/TestIntentManager.py')
-rw-r--r-- | tests/TestIntentManager.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/TestIntentManager.py b/tests/TestIntentManager.py index 17d102b5ef..66e3085337 100644 --- a/tests/TestIntentManager.py +++ b/tests/TestIntentManager.py @@ -107,11 +107,13 @@ def doSetup(application, extruder_manager, container_registry, global_stack) -> extruder_stack_a.quality = MockContainer({"id": "um3_aa4_pla_normal"}) extruder_stack_a.material = MockContainer({"base_file": "generic_pla"}) extruder_stack_a.intent = MockContainer({"id": "empty_intent", "intent_category": "default"}) + extruder_stack_a.qualityChanges = MockContainer({"id": "empty_quality_changes", "intent_category": "default"}) extruder_stack_b = MockContainer({"id": "Extruder II: Plastic Boogaloo"}) extruder_stack_b.variant = MockContainer({"name": "AA 0.4"}) extruder_stack_b.quality = MockContainer({"id": "um3_aa4_pla_normal"}) extruder_stack_b.material = MockContainer({"base_file": "generic_pla"}) extruder_stack_b.intent = MockContainer({"id": "empty_intent", "intent_category": "default"}) + extruder_stack_b.qualityChanges = MockContainer({"id": "empty_quality_changes", "intent_category": "default"}) global_stack.extruderList = [extruder_stack_a, extruder_stack_b] application.getGlobalContainerStack = MagicMock(return_value = global_stack) |