[Bf-blender-cvs] [6e28deb542] temp-depsgraph-layers: Layers Unittesting pep8: 2/2 (manual changes)

Dalai Felinto noreply at git.blender.org
Wed Mar 22 15:38:55 CET 2017


Commit: 6e28deb5423ee52795dfadf419b52298ecc4e3ab
Author: Dalai Felinto
Date:   Wed Mar 22 15:34:56 2017 +0100
Branches: temp-depsgraph-layers
https://developer.blender.org/rB6e28deb5423ee52795dfadf419b52298ecc4e3ab

Layers Unittesting pep8: 2/2 (manual changes)

===================================================================

M	tests/python/render_layer/test_evaluation_selectability_a.py
M	tests/python/render_layer/test_evaluation_selectability_b.py
M	tests/python/render_layer/test_evaluation_selectability_c.py
M	tests/python/render_layer/test_evaluation_selectability_d.py
M	tests/python/render_layer/test_evaluation_selectability_e.py
M	tests/python/render_layer/test_evaluation_visibility_a.py
M	tests/python/render_layer/test_evaluation_visibility_b.py
M	tests/python/render_layer/test_evaluation_visibility_c.py
M	tests/python/render_layer/test_evaluation_visibility_d.py
M	tests/python/render_layer/test_evaluation_visibility_e.py
M	tests/python/render_layer/test_evaluation_visibility_f.py

===================================================================

diff --git a/tests/python/render_layer/test_evaluation_selectability_a.py b/tests/python/render_layer/test_evaluation_selectability_a.py
index 88ce4b8503..050303f7b9 100644
--- a/tests/python/render_layer/test_evaluation_selectability_a.py
+++ b/tests/python/render_layer/test_evaluation_selectability_a.py
@@ -37,7 +37,7 @@ class UnitTesting(RenderLayerTesting):
         layer_collection_kid = layer.collections.link(scene_collection_kid)
 
         layer_collection_mom.hide = True
-        bpy.context.scene.update() # update depsgraph
+        bpy.context.scene.update()  # update depsgraph
         cube.select_set('SELECT')
 
         self.assertTrue(cube.visible_get(), "Cube should be visible")
diff --git a/tests/python/render_layer/test_evaluation_selectability_b.py b/tests/python/render_layer/test_evaluation_selectability_b.py
index 19408f1c90..5555959e47 100644
--- a/tests/python/render_layer/test_evaluation_selectability_b.py
+++ b/tests/python/render_layer/test_evaluation_selectability_b.py
@@ -35,13 +35,13 @@ class UnitTesting(RenderLayerTesting):
 
         layer_collection_mom = layer.collections.link(scene_collection_mom)
         layer_collection_kid = layer.collections.link(scene_collection_kid)
-        bpy.context.scene.update() # update depsgraph
+        bpy.context.scene.update()  # update depsgraph
         cube.select_set('SELECT')
 
         layer_collection_mom.collections[layer_collection_kid.name].hide = True
         layer_collection_kid.hide = True
 
-        bpy.context.scene.update() # update depsgraph
+        bpy.context.scene.update()  # update depsgraph
         self.assertFalse(cube.visible_get(), "Cube should be invisible")
         self.assertFalse(cube.select_get(), "Cube should be unselected")
 
diff --git a/tests/python/render_layer/test_evaluation_selectability_c.py b/tests/python/render_layer/test_evaluation_selectability_c.py
index 278984a05e..98a2fc792b 100644
--- a/tests/python/render_layer/test_evaluation_selectability_c.py
+++ b/tests/python/render_layer/test_evaluation_selectability_c.py
@@ -37,7 +37,7 @@ class UnitTesting(RenderLayerTesting):
         layer_collection_kid = layer.collections.link(scene_collection_kid)
 
         layer_collection_mom.hide = False
-        bpy.context.scene.update() # update depsgraph
+        bpy.context.scene.update()  # update depsgraph
         cube.select_set('SELECT')
 
         self.assertTrue(cube.visible_get(), "Cube should be visible")
diff --git a/tests/python/render_layer/test_evaluation_selectability_d.py b/tests/python/render_layer/test_evaluation_selectability_d.py
index 66735d52ee..d36ec2883b 100644
--- a/tests/python/render_layer/test_evaluation_selectability_d.py
+++ b/tests/python/render_layer/test_evaluation_selectability_d.py
@@ -37,12 +37,12 @@ class UnitTesting(RenderLayerTesting):
         layer_collection_kid = layer.collections.link(scene_collection_kid)
 
         layer_collection_mom.hide = False
-        bpy.context.scene.update() # update depsgraph
+        bpy.context.scene.update()  # update depsgraph
 
         cube.select_set('SELECT')
         layer_collection_mom.collections[layer_collection_kid.name].hide_select = True
 
-        bpy.context.scene.update() # update depsgraph
+        bpy.context.scene.update()  # update depsgraph
         self.assertTrue(cube.visible_get(), "Cube should be visible")
         self.assertTrue(cube.select_get(), "Cube should be selected")
 
diff --git a/tests/python/render_layer/test_evaluation_selectability_e.py b/tests/python/render_layer/test_evaluation_selectability_e.py
index f45a4eaec4..0292b28c97 100644
--- a/tests/python/render_layer/test_evaluation_selectability_e.py
+++ b/tests/python/render_layer/test_evaluation_selectability_e.py
@@ -41,7 +41,7 @@ class UnitTesting(RenderLayerTesting):
         layer_collection_mom.collections[layer_collection_kid.name].hide_select = True
         layer_collection_kid.hide = True
 
-        bpy.context.scene.update() # update depsgraph
+        bpy.context.scene.update()  # update depsgraph
         self.assertTrue(cube.visible_get(), "Cube should be visible")
         self.assertFalse(cube.select_get(), "Cube should be unselected")
 
diff --git a/tests/python/render_layer/test_evaluation_visibility_a.py b/tests/python/render_layer/test_evaluation_visibility_a.py
index 2169654b15..3bafdf7b2b 100644
--- a/tests/python/render_layer/test_evaluation_visibility_a.py
+++ b/tests/python/render_layer/test_evaluation_visibility_a.py
@@ -40,7 +40,7 @@ class UnitTesting(RenderLayerTesting):
         layer_collection_mom.hide = True
         layer_collection_kid.hide = False
 
-        bpy.context.scene.update() # update depsgraph
+        bpy.context.scene.update()  # update depsgraph
         self.assertTrue(cube.visible_get(), "Object should be visible")
 
 
diff --git a/tests/python/render_layer/test_evaluation_visibility_b.py b/tests/python/render_layer/test_evaluation_visibility_b.py
index 32692917a6..ea457347bf 100644
--- a/tests/python/render_layer/test_evaluation_visibility_b.py
+++ b/tests/python/render_layer/test_evaluation_visibility_b.py
@@ -40,7 +40,7 @@ class UnitTesting(RenderLayerTesting):
         layer_collection_mom.collections[layer_collection_kid.name].hide = True
         layer_collection_kid.hide = True
 
-        bpy.context.scene.update() # update depsgraph
+        bpy.context.scene.update()  # update depsgraph
         self.assertFalse(cube.visible_get(), "Object should be invisible")
 
 
diff --git a/tests/python/render_layer/test_evaluation_visibility_c.py b/tests/python/render_layer/test_evaluation_visibility_c.py
index 4754f5f9aa..e0249de1fc 100644
--- a/tests/python/render_layer/test_evaluation_visibility_c.py
+++ b/tests/python/render_layer/test_evaluation_visibility_c.py
@@ -40,7 +40,7 @@ class UnitTesting(RenderLayerTesting):
         layer_collection_mom.collections[layer_collection_kid.name].hide = True
         layer_collection_kid.hide = False
 
-        bpy.context.scene.update() # update depsgraph
+        bpy.context.scene.update()  # update depsgraph
         self.assertTrue(cube.visible_get(), "Object should be visible")
 
 
diff --git a/tests/python/render_layer/test_evaluation_visibility_d.py b/tests/python/render_layer/test_evaluation_visibility_d.py
index 464b95f172..54a963fa15 100644
--- a/tests/python/render_layer/test_evaluation_visibility_d.py
+++ b/tests/python/render_layer/test_evaluation_visibility_d.py
@@ -37,7 +37,7 @@ class UnitTesting(RenderLayerTesting):
         layer_collection_kid = layer.collections.link(scene_collection_kid)
 
         layer_collection_mom.hide = False
-        bpy.context.scene.update() # update depsgraph
+        bpy.context.scene.update()  # update depsgraph
         self.assertTrue(cube.visible_get(), "Object should be visible")
 
 
diff --git a/tests/python/render_layer/test_evaluation_visibility_e.py b/tests/python/render_layer/test_evaluation_visibility_e.py
index e83351dbbc..7323fecdc3 100644
--- a/tests/python/render_layer/test_evaluation_visibility_e.py
+++ b/tests/python/render_layer/test_evaluation_visibility_e.py
@@ -40,7 +40,7 @@ class UnitTesting(RenderLayerTesting):
         layer_collection_mom.hide = False
         layer_collection_kid.hide = True
 
-        bpy.context.scene.update() # update depsgraph
+        bpy.context.scene.update()  # update depsgraph
         self.assertTrue(cube.visible_get(), "Object should be visible")
 
 
diff --git a/tests/python/render_layer/test_evaluation_visibility_f.py b/tests/python/render_layer/test_evaluation_visibility_f.py
index e97f05f76d..5abe7a1d09 100644
--- a/tests/python/render_layer/test_evaluation_visibility_f.py
+++ b/tests/python/render_layer/test_evaluation_visibility_f.py
@@ -41,7 +41,7 @@ class UnitTesting(RenderLayerTesting):
         layer_collection_mom.collections[layer_collection_kid.name].hide = True
         layer_collection_kid.hide = True
 
-        bpy.context.scene.update() # update depsgraph
+        bpy.context.scene.update()  # update depsgraph
         self.assertTrue(cube.visible_get(), "Object should be visible")




More information about the Bf-blender-cvs mailing list