Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2019-09-23 18:09:54 +0300
committerJaime van Kessel <nallath@gmail.com>2019-09-23 18:09:54 +0300
commit4dc918c64726c89b87e98dc83e937729ed64fbe5 (patch)
treef4bc269da99dda98c3ab71bb08685777e2c8bbfe /tests/TestIntentManager.py
parent557746a8326d570ab80bb5ec47e720a2a2aeebc3 (diff)
Fix unit test
Diffstat (limited to 'tests/TestIntentManager.py')
-rw-r--r--tests/TestIntentManager.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/TestIntentManager.py b/tests/TestIntentManager.py
index 5ed2656df4..a82de1273d 100644
--- a/tests/TestIntentManager.py
+++ b/tests/TestIntentManager.py
@@ -62,6 +62,7 @@ def intent_manager(application, extruder_manager, machine_manager, container_reg
application.getExtruderManager = MagicMock(return_value = extruder_manager)
application.getGlobalContainerStack = MagicMock(return_value = global_stack)
application.getMachineManager = MagicMock(return_value = machine_manager)
+ machine_manager.setIntentByCategory = MagicMock()
with patch("cura.CuraApplication.CuraApplication.getInstance", MagicMock(return_value = application)):
with patch("UM.Settings.ContainerRegistry.ContainerRegistry.getInstance", MagicMock(return_value = container_registry)):
manager = IntentManager()