mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 04:54:04 -06:00
Remove superfluous output_value parameter
It's not used any more since we don't test the actual instance container any more. Contributes to issue CURA-3497.
This commit is contained in:
parent
7f1930d452
commit
2161cf9f52
1 changed files with 7 additions and 7 deletions
|
@ -536,14 +536,14 @@ def test_setNextStack(global_stack):
|
|||
global_stack.setNextStack(unittest.mock.MagicMock())
|
||||
|
||||
## Tests setting properties directly on the global stack.
|
||||
@pytest.mark.parametrize("key, property, value, output_value", [
|
||||
("layer_height", "value", 0.1337, 0.1337),
|
||||
("foo", "value", 100, 100),
|
||||
("support_enabled", "value", True, True),
|
||||
("layer_height", "default_value", 0.1337, 0.1337),
|
||||
("layer_height", "is_bright_pink", "of course", "of course")
|
||||
@pytest.mark.parametrize("key, property, value", [
|
||||
("layer_height", "value", 0.1337),
|
||||
("foo", "value", 100),
|
||||
("support_enabled", "value", True),
|
||||
("layer_height", "default_value", 0.1337),
|
||||
("layer_height", "is_bright_pink", "of course")
|
||||
])
|
||||
def test_setPropertyUser(key, property, value, output_value, global_stack):
|
||||
def test_setPropertyUser(key, property, value, global_stack):
|
||||
user_changes = unittest.mock.MagicMock()
|
||||
user_changes.getMetaDataEntry = unittest.mock.MagicMock(return_value = "user")
|
||||
global_stack.userChanges = user_changes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue