def METHOD_NAME(request, api):
    '''
    fixture to create a scanner_group
    '''
    METHOD_NAME = api.scanner_groups.create(str(uuid.uuid4()))
    def teardown():
        '''function to clear the scanner_group'''
        try:
            api.scanner_groups.delete(METHOD_NAME['id'])
        except NotFoundError as notfound:
            log_exception(notfound)
    request.addfinalizer(teardown)
    return METHOD_NAME