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:
Diffstat (limited to 'source/tests')
-rw-r--r--source/tests/bl_run_operators.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/tests/bl_run_operators.py b/source/tests/bl_run_operators.py
index effc06cd15f..ad8a6919c91 100644
--- a/source/tests/bl_run_operators.py
+++ b/source/tests/bl_run_operators.py
@@ -342,7 +342,8 @@ def ctx_editmode_curves():
def ctx_editmode_curves_empty():
bpy.ops.curve.primitive_nurbs_circle_add()
bpy.ops.object.mode_set(mode='EDIT')
- bpy.ops.curve.delete(type='ALL')
+ bpy.ops.curve.select_all(action='SELECT')
+ bpy.ops.curve.delete(type='VERT')
def ctx_editmode_surface():