'Updates the launchConfigresults section.
Updates the launchConfigresults section in a template results in a
pyrax call to update the launch configuration.'

def test_update_launch_config_server(self):

    self._setup_test_stack()
    resource = self.stack['my_group']
    uprops = copy.deepcopy(dict(resource.properties.data))
    lcargs = uprops['launchConfiguration']['args']
    lcargs['loadBalancers'] = [{'loadBalancerId': '1', 'port': 80}]
    new_template = rsrc_defn.ResourceDefinition(resource.name, resource.type(), uprops)
    scheduler.TaskRunner(resource.update, new_template)()
    self.assertEqual(1, len(self.fake_auto_scale.groups))
    self.assertEqual([{'loadBalancerId': 1, 'port': 80}], self.fake_auto_scale.groups['0'].kwargs['load_balancers'])
