mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-29 13:51:12 -07:00
Remove mocking of deprecated field
This field is no longer used by the code under test.
This commit is contained in:
parent
90de482313
commit
962e375dad
1 changed files with 0 additions and 1 deletions
|
|
@ -22,7 +22,6 @@ def getPrintInformation(printer_name) -> PrintInformation:
|
||||||
mocked_preferences.getValue = MagicMock(return_value = '{"omgzomg": {"spool_weight": 10, "spool_cost": 9}}')
|
mocked_preferences.getValue = MagicMock(return_value = '{"omgzomg": {"spool_weight": 10, "spool_cost": 9}}')
|
||||||
|
|
||||||
global_container_stack = MagicMock()
|
global_container_stack = MagicMock()
|
||||||
global_container_stack.extruders = {"0": mocked_extruder_stack}
|
|
||||||
global_container_stack.definition.getName = MagicMock(return_value = printer_name)
|
global_container_stack.definition.getName = MagicMock(return_value = printer_name)
|
||||||
mock_application.getGlobalContainerStack = MagicMock(return_value = global_container_stack)
|
mock_application.getGlobalContainerStack = MagicMock(return_value = global_container_stack)
|
||||||
mock_application.getPreferences = MagicMock(return_value = mocked_preferences)
|
mock_application.getPreferences = MagicMock(return_value = mocked_preferences)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue