mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 19:49:00 +08: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
@ -22,7 +22,6 @@ def getPrintInformation(printer_name) -> PrintInformation:
|
||||
mocked_preferences.getValue = MagicMock(return_value = '{"omgzomg": {"spool_weight": 10, "spool_cost": 9}}')
|
||||
|
||||
global_container_stack = MagicMock()
|
||||
global_container_stack.extruders = {"0": mocked_extruder_stack}
|
||||
global_container_stack.definition.getName = MagicMock(return_value = printer_name)
|
||||
mock_application.getGlobalContainerStack = MagicMock(return_value = global_container_stack)
|
||||
mock_application.getPreferences = MagicMock(return_value = mocked_preferences)
|
||||
|
Loading…
x
Reference in New Issue
Block a user