Fix T58556: Some remaining 'dupli_types' in pycode after renaming.
[blender.git] / tests / python / view_layer / test_group_e.py
index 14385411ecaa8eab2dad6c81b686c57e405da134..7385d94f1f43691bdf2ae84f7c7281c9bd698abb 100644 (file)
@@ -44,8 +44,8 @@ class UnitTesting(ViewLayerTesting):
         empty = bpy.data.objects.new("Empty", None)
         bpy.context.scene_collection.objects.link(empty)
         layer_collection = bpy.context.layer_collection
-        empty.dupli_type = 'GROUP'
-        empty.dupli_group = group
+        empty.instance_type = 'GROUP'
+        empty.instance_collection = group
 
         # prepare to delete the original object
         # we could just pass an overridden context