def METHOD_NAME(security_center, group):
    '''
    test groups edit for success
    '''
    group = security_center.groups.edit(int(group['id']), name='new name')
    assert isinstance(group, dict)
    check(group, 'id', str)
    check(group, 'name', str)
    check(group, 'description', str)
    check(group, 'createdTime', str)
    check(group, 'modifiedTime', str)
    check(group, 'userCount', int)
    key_list = ['definingAssets', 'lces', 'repositories', 'assets', 'policies',
               'queries', 'credentials', 'dashboardTabs', 'arcs', 'auditFiles']
    for key in key_list:
        check(group, key, list)
        for a_group in group[key]:
            check(a_group, 'id', str)
            check(a_group, 'name', str)
            check(a_group, 'description', str)
            if key == 'lces':
                check(a_group, 'version', str)
            if key == 'repositories':
                check(a_group, 'lastVulnUpdate', str)
                check(a_group, 'type', str)
                check(a_group, 'dataFormat', str)