mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
Remove unused mock of extruders property
The extruders property is no longer being used by the code under test, so this mock is unnecessary. It's also a deprecated property. Done during Turbo Testing and Tooling.
This commit is contained in:
parent
9c78178561
commit
e098f98a7d
1 changed files with 4 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2019 Ultimaker B.V.
|
# Copyright (c) 2020 Ultimaker B.V.
|
||||||
# Cura is released under the terms of the LGPLv3 or higher.
|
# Cura is released under the terms of the LGPLv3 or higher.
|
||||||
|
|
||||||
import os #To find the directory with test files and find the test files.
|
import os #To find the directory with test files and find the test files.
|
||||||
|
@ -257,7 +257,6 @@ mocked_plugin_registry = unittest.mock.MagicMock(name="mocked_plugin_registry")
|
||||||
@unittest.mock.patch("UM.PluginRegistry.PluginRegistry.getInstance", unittest.mock.MagicMock(return_value = mocked_plugin_registry))
|
@unittest.mock.patch("UM.PluginRegistry.PluginRegistry.getInstance", unittest.mock.MagicMock(return_value = mocked_plugin_registry))
|
||||||
class TestImportProfile:
|
class TestImportProfile:
|
||||||
mocked_global_stack = unittest.mock.MagicMock(name = "global stack")
|
mocked_global_stack = unittest.mock.MagicMock(name = "global stack")
|
||||||
mocked_global_stack.extruders = {0: unittest.mock.MagicMock(name="extruder stack")}
|
|
||||||
mocked_global_stack.getId = unittest.mock.MagicMock(return_value = "blarg")
|
mocked_global_stack.getId = unittest.mock.MagicMock(return_value = "blarg")
|
||||||
mocked_profile_reader = unittest.mock.MagicMock()
|
mocked_profile_reader = unittest.mock.MagicMock()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue