Remove mocking of deprecated field

This field is no longer used by the code under test.
This commit is contained in:
Ghostkeeper 2020-05-29 17:26:33 +02:00
parent 90de482313
commit 962e375dad
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

@ -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)