diff options
Diffstat (limited to 'tests/python/modules/mesh_test.py')
-rw-r--r-- | tests/python/modules/mesh_test.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/python/modules/mesh_test.py b/tests/python/modules/mesh_test.py index 730c0d61a26..873ab779d65 100644 --- a/tests/python/modules/mesh_test.py +++ b/tests/python/modules/mesh_test.py @@ -87,6 +87,7 @@ class OperatorSpecEditMode: """ Holds one operator and its parameters. """ + def __init__( self, operator_name: str, @@ -206,7 +207,7 @@ class MeshTest(ABC): self.expected_object = self.evaluated_object self.expected_object.name = self.exp_object_name x, y, z = self.test_object.location - self.expected_object.location = (x, y+10, z) + self.expected_object.location = (x, y + 10, z) bpy.ops.wm.save_as_mainfile(filepath=bpy.data.filepath) def create_evaluated_object(self): @@ -261,7 +262,6 @@ class MeshTest(ABC): if not inside_loop_flag: success = False - if success: self.print_passed_test_result(result) # Clean up. @@ -320,7 +320,7 @@ class MeshTest(ABC): bm = bmesh.from_edit_mesh(mesh) - #bpy.ops.object.mode_set(mode='OBJECT') + # bpy.ops.object.mode_set(mode='OBJECT') bpy.context.tool_settings.mesh_select_mode = (select_mode == 'VERT', select_mode == 'EDGE', |