Ejemplo n.º 1
0
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)
Ejemplo n.º 2
0
def cleaner():
    resource_names = []

    yield resource_names

    for resource_name in resource_names:
        testing_lib.delete_annotation_spec_set(resource_name)