A last bit of cleaning up temp files after tests

This commit is contained in:
Andrej730
2023-03-02 10:42:19 +05:00
parent cf2ad43ed7
commit 1fca38625f
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -173,6 +173,13 @@ def i_press_operator(operator):
exec(f"bpy.ops.{operator}()")
@given(parsers.parse('I evaluate expression "{expression}"'))
@when(parsers.parse('I evaluate expression "{expression}"'))
def i_evaluate_expression(expression):
expression = replace_variables(expression)
exec(expression)
@when("I duplicate the selected objects")
def i_duplicate_the_selected_objects():
bpy.ops.object.duplicate_move()