mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 04:07:57 -06:00
Do not compare string to actual type
As far as we know, Global or Container stack should not take care of string -> value conversion
This commit is contained in:
parent
3620ce4c0a
commit
3c1cbd5aa9
1 changed files with 3 additions and 3 deletions
|
@ -540,9 +540,9 @@ def test_setNextStack(global_stack):
|
||||||
|
|
||||||
## Tests setting properties directly on the global stack.
|
## Tests setting properties directly on the global stack.
|
||||||
@pytest.mark.parametrize("key, property, value, output_value", [
|
@pytest.mark.parametrize("key, property, value, output_value", [
|
||||||
("layer_height", "value", "0.1337", 0.1337),
|
("layer_height", "value", 0.1337, 0.1337),
|
||||||
("foo", "value", "100", 100),
|
("foo", "value", 100, 100),
|
||||||
("support_enabled", "value", "True", True),
|
("support_enabled", "value", True, True),
|
||||||
("layer_height", "default_value", 0.1337, 0.1337),
|
("layer_height", "default_value", 0.1337, 0.1337),
|
||||||
("layer_height", "is_bright_pink", "of course", "of course")
|
("layer_height", "is_bright_pink", "of course", "of course")
|
||||||
])
|
])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue