diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-26 08:03:04 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-26 08:03:04 +0300 |
commit | e3724d29ffb753867ebd1c52f7b644fdcb2bba25 (patch) | |
tree | 6836b2b98fded12de2521220375729597004b3c4 /tests/python | |
parent | 802bc8e2330062e321eef24a58ca9fe86778fdf7 (diff) |
Cleanup: autopep8
Diffstat (limited to 'tests/python')
-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)) |