mirror of
https://github.com/Ultimaker/Cura.git
synced 2026-01-02 21:00:39 -07:00
add mock for the get property
default to None for user time estimation factor
This commit is contained in:
parent
21ebe14cc2
commit
747b309a6f
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ def getPrintInformation(printer_name) -> PrintInformation:
|
|||
|
||||
global_container_stack = MagicMock()
|
||||
global_container_stack.definition.getName = MagicMock(return_value = printer_name)
|
||||
global_container_stack.getProperty = MagicMock(return_value = None)
|
||||
mock_application.getGlobalContainerStack = MagicMock(return_value = global_container_stack)
|
||||
mock_application.getPreferences = MagicMock(return_value = mocked_preferences)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue