[Bf-blender-cvs] [95e183b] render-layers: unittest touch ups

Dalai Felinto noreply at git.blender.org
Thu Dec 22 12:14:55 CET 2016


Commit: 95e183b7f4a4dcf50794d4be5fb2c267cb5aad0f
Author: Dalai Felinto
Date:   Thu Dec 22 12:14:46 2016 +0100
Branches: render-layers
https://developer.blender.org/rB95e183b7f4a4dcf50794d4be5fb2c267cb5aad0f

unittest touch ups

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

M	tests/python/bl_render_layer.py

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

diff --git a/tests/python/bl_render_layer.py b/tests/python/bl_render_layer.py
index b325386..a7ecd1e 100644
--- a/tests/python/bl_render_layer.py
+++ b/tests/python/bl_render_layer.py
@@ -547,11 +547,11 @@ class UnitsTesting(unittest.TestCase):
             layer = scene.render_layers.new('Fresh new Layer')
 
             if link_mode in {'COLLECTION_LINK', 'COLLECTION_UNLINK'}:
-                collection = layer.collections.link(subzero)
+                layer.collections.link(subzero)
 
             if link_mode == 'COLLECTION_UNLINK':
                 initial_collection = layer.collections['Master Collection']
-                collection = layer.collections.unlink(initial_collection)
+                layer.collections.unlink(initial_collection)
 
             # save file
             filepath_nested = os.path.join(dirpath, 'nested.blend')




More information about the Bf-blender-cvs mailing list