diff options
Diffstat (limited to 'tests/python')
-rw-r--r-- | tests/python/view_layer/test_object_copy.py | 2 | ||||
-rw-r--r-- | tests/python/view_layer/view_layer_common.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/python/view_layer/test_object_copy.py b/tests/python/view_layer/test_object_copy.py index 19a7c56b989..2ca5e170192 100644 --- a/tests/python/view_layer/test_object_copy.py +++ b/tests/python/view_layer/test_object_copy.py @@ -46,7 +46,7 @@ class UnitTesting(ViewLayerTesting): if mode == 'DUPLICATE': # assuming the latest layer is the active layer bpy.ops.object.select_all(action='DESELECT') - three_c.select_set(action='SELECT') + three_c.select_set(True) bpy.ops.object.duplicate() elif mode == 'NAMED': diff --git a/tests/python/view_layer/view_layer_common.py b/tests/python/view_layer/view_layer_common.py index 25cf7c80d96..709ef4afbfe 100644 --- a/tests/python/view_layer/view_layer_common.py +++ b/tests/python/view_layer/view_layer_common.py @@ -416,7 +416,7 @@ class ViewLayerTesting(unittest.TestCase): elif del_mode == 'OPERATOR': bpy.context.scene.update() # update depsgraph bpy.ops.object.select_all(action='DESELECT') - ob.select_set(action='SELECT') + ob.select_set(True) self.assertTrue(ob.select_get()) bpy.ops.object.delete() |