diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/python/eevee_render_tests.py | 2 | ||||
-rw-r--r-- | tests/python/geo_node_test.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/python/eevee_render_tests.py b/tests/python/eevee_render_tests.py index bd14fadb3b3..8c6f08ae76e 100644 --- a/tests/python/eevee_render_tests.py +++ b/tests/python/eevee_render_tests.py @@ -63,7 +63,7 @@ def setup(): collection = bpy.data.collections.new("Reflection") collection.objects.link(plane) # Add all lights to light the plane - if invert == False: + if not invert: for light in bpy.data.objects: if light.type == 'LIGHT': collection.objects.link(light) diff --git a/tests/python/geo_node_test.py b/tests/python/geo_node_test.py index 65ea500d2a1..9d7c634db76 100644 --- a/tests/python/geo_node_test.py +++ b/tests/python/geo_node_test.py @@ -13,5 +13,5 @@ geo_node_test = BlendFileTest("test_object", "expected_object", threshold=1e-4) result = geo_node_test.run_test() # Telling `ctest` about the failed test by raising Exception. -if result == False: +if not result: raise Exception("Failed {}".format(geo_node_test.test_name)) |