From 3c1cbd5aa96ab44f611a6bedf18c18672c268c13 Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Tue, 28 Mar 2017 18:18:29 +0200 Subject: [PATCH] Do not compare string to actual type As far as we know, Global or Container stack should not take care of string -> value conversion --- tests/Settings/TestGlobalStack.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Settings/TestGlobalStack.py b/tests/Settings/TestGlobalStack.py index e8c0b6f959..cbff39e941 100644 --- a/tests/Settings/TestGlobalStack.py +++ b/tests/Settings/TestGlobalStack.py @@ -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") ])