diff options
author | Jaime van Kessel <nallath@gmail.com> | 2019-08-12 15:52:05 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2019-08-12 15:52:05 +0300 |
commit | 6cea609b569e9d972edc74a705b7dc268b1977c3 (patch) | |
tree | 2cfd18f33a3258e2b70292bdef2dc63e2f7480c9 /tests/TestIntentManager.py | |
parent | 99afa6b5330db5e6019e59f2679661e4eb984239 (diff) |
Fix intentManager test
Since we changed how the QualityManager is constructed, the test should change as well
CURA-6600
Diffstat (limited to 'tests/TestIntentManager.py')
-rw-r--r-- | tests/TestIntentManager.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/TestIntentManager.py b/tests/TestIntentManager.py index 337af817d1..1e2786ca6e 100644 --- a/tests/TestIntentManager.py +++ b/tests/TestIntentManager.py @@ -9,12 +9,13 @@ from cura.Machines.QualityManager import QualityManager from tests.Settings.MockContainer import MockContainer + @pytest.fixture() def quality_manager(application, container_registry, global_stack) -> QualityManager: application.getGlobalContainerStack = MagicMock(return_value = global_stack) with patch("cura.CuraApplication.CuraApplication.getInstance", MagicMock(return_value = application)): with patch("UM.Settings.ContainerRegistry.ContainerRegistry.getInstance", MagicMock(return_value = container_registry)): - manager = QualityManager(application) + manager = QualityManager() return manager |