mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 18:27:51 -06:00
Set the User container to a writable container in testSetProperty
Since empty container (the default) will not allow writes
This commit is contained in:
parent
3f1f4a172d
commit
2a2df31c5b
1 changed files with 1 additions and 0 deletions
|
@ -520,6 +520,7 @@ def test_setNextStack(global_stack):
|
|||
("layer_height", "is_bright_pink", "of course", "of course")
|
||||
])
|
||||
def test_setPropertyUser(key, property, value, output_value, global_stack):
|
||||
global_stack.setUserChanges(MockContainer(global_stack.id + "_user", "user"))
|
||||
global_stack.setProperty(key, value, property)
|
||||
assert global_stack.userChanges.getProperty(key, property) == output_value
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue