Rename any instance of scene layer or render layer in code with view layer
[blender.git] / tests / python / view_layer / test_active_collection.py
similarity index 94%
rename from tests/python/render_layer/test_active_collection.py
rename to tests/python/view_layer/test_active_collection.py
index 0094400f2a57e53733aa786bc89f1f4fab4d7486..10df71f77ce87a72320c3aff2efca1ca37f11410 100644 (file)
@@ -6,14 +6,14 @@ import unittest
 import os
 import sys
 
-from render_layer_common import *
+from view_layer_common import *
 
 
 # ############################################################
 # Testing
 # ############################################################
 
-class UnitTesting(RenderLayerTesting):
+class UnitTesting(ViewLayerTesting):
     def test_active_collection(self):
         """
         See if active collection index is working
@@ -38,7 +38,7 @@ class UnitTesting(RenderLayerTesting):
         scorpion = subzero.collections.new('scorpion')
         subzero.objects.link(three_b)
         scorpion.objects.link(three_c)
-        layer = scene.render_layers.new('Fresh new Layer')
+        layer = scene.view_layers.new('Fresh new Layer')
         layer.collections.link(subzero)
 
         lookup = [