def METHOD_NAME(self):
    """
    Tests changing the group id
    """
    # Create a group to delete - If unsuccessful, skip the test
    if self.run_function("group.add", [CHANGE_GROUP, 5678]) is not True:
        self.run_function("group.delete", [CHANGE_GROUP])
        self.skipTest("Failed to create a group to manipulate")
    try:
        self.run_function("group.chgid", [CHANGE_GROUP, 6789])
        group_info = self.run_function("group.info", [CHANGE_GROUP])
        self.assertEqual(group_info["gid"], 6789)
    except AssertionError:
        self.run_function("group.delete", [CHANGE_GROUP])
        raise