Fix test non testing what it was supposed to

This commit is contained in:
Nicola Soranzo
2022-09-02 18:25:43 +01:00
parent ef2c58b6df
commit 885f6f60c0
+1 -1
View File
@@ -185,7 +185,7 @@ def test_input_value_wrapper_comparison_optional(tool):
assert wrapper != 1
assert str(wrapper) == ""
assert wrapper == None # noqa: E711
wrapper = valuewrapper(tool, None, "boolean")
wrapper = valuewrapper(tool, None, "boolean", optional=True)
assert bool(wrapper) is False, wrapper
assert str(wrapper) == "falsevalue"