def annotation_spec_set(): # create a temporary annotation_spec_set response = testing_lib.create_annotation_spec_set(PROJECT_ID) yield response testing_lib.delete_annotation_spec_set(response.name)
def cleaner(): resource_names = [] yield resource_names for resource_name in resource_names: testing_lib.delete_annotation_spec_set(resource_name)