def METHOD_NAME(
    manage_groups_token, super_admin_user_two_groups, super_admin_token
):
    username = str(uuid.uuid4())
    status, data = api(
        "POST", "user", data={"username": username}, token=super_admin_token
    )
    assert status == 200
    new_user_id = data["data"]["id"]
    status, data = api(
        "GET", "groups?includeSingleUserGroups=true", token=manage_groups_token
    )
    assert data["status"] == "success"
    assert any(
        [
            group["single_user_group"] and group["name"] == username
            for group in data["data"]["all_groups"]
        ]
    )
    status, data = api('DELETE', f'user/{new_user_id}', token=super_admin_token)
    assert status == 200
    status, data = api(
        "GET", "groups?includeSingleUserGroups=true", token=manage_groups_token
    )
    assert data["status"] == "success"
    assert not any(
        [
            group["single_user_group"] and group["name"] == username
            for group in data["data"]["all_groups"]
        ]
    )