Fix bug where selecting type occurrences did not work

This commit is contained in:
Dion Moult
2021-11-29 20:25:51 +11:00
parent 825ffe03b0
commit f529bc37ee
3 changed files with 26 additions and 4 deletions
+6
View File
@@ -153,6 +153,12 @@ def the_object_name_is_selected(name):
additionally_the_object_name_is_selected(name)
@then(parsers.parse('the object "{name}" is selected'))
def then_the_object_name_is_selected(name):
obj = the_object_name_exists(name)
assert obj in bpy.context.selected_objects
@given(parsers.parse('the object "{name}" is moved to "{location}"'))
@when(parsers.parse('the object "{name}" is moved to "{location}"'))
def the_object_name_is_moved_to_location(name, location):