def get_user_type(test_user):
    """Get test user's user type for ACE access control entry.

    Args:
        test_user (str): test user name.

    Return:
        str: test user type user/group for ACE.

    """
    user_type = "user"
    if "group" in test_user.lower():
        user_type = "group"
    return user_type