Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2016-12-22 14:14:46 +0300
committerDalai Felinto <dfelinto@gmail.com>2016-12-22 14:14:46 +0300
commit95e183b7f4a4dcf50794d4be5fb2c267cb5aad0f (patch)
tree2173dd4ca4dd63542d69bf46a5f6ca085953fe52 /tests/python
parenta9cc4d0c5c0fee91eef684529fdc8e73a80965c2 (diff)
unittest touch ups
Diffstat (limited to 'tests/python')
-rw-r--r--tests/python/bl_render_layer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/python/bl_render_layer.py b/tests/python/bl_render_layer.py
index b3253867f76..a7ecd1e5fae 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')