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:
Arjen Hiemstra 2017-03-28 18:18:29 +02:00
parent 3620ce4c0a
commit 3c1cbd5aa9

View file

@ -540,9 +540,9 @@ def test_setNextStack(global_stack):
## 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", "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")
])