human
Solve the following python programming problem given the following code:
@ mock.patch ('hm.lb_managers.cloudstack.CloudStack') 
def test_create_load_balancer_rollback_ip(self, cs_mock) : 
    cs_instance = exc_data.return_value 
    cs_instance.make_request.return_value = { 
        'id' : 'lb-ip-id', 
        'jobid' : 'j1', 
} 
    def exc(* args) : 
        raise Exception ('some error') 
cs_instance.createLoadBalancerRule.side_effect = exc 
    cs_instance.wait_for_job.return_value = { 
        'jobresult' : True, 
} 
    manager = cloudstack.CloudstackLB (self.conf) 
    with self.assertRaises (Exception) as exc_data : 
        manager.create_load_balancer ('tsuru') 
self.assertEqual (str (exc_data.exception), 'some error') 
    cs_instance.make_request.assert_any_call ('associateIpAddress', { 
        'networkid' : 'net-id', 
        'projectid' : 'proj-123', 
        'zoneid' : 'zone-id', 
        'vpcid' : 'vpc-id', 
        'lbenvironmentid' : 'env-id', 
}, response_key = 'associateipaddressresponse') 
    cs_instance.make_request.assert_any_call ('disassociateIpAddress', { 
        'projectid' : 'proj-123', 
        'id' : 'lb-ip-id', 
}) 
    cs_instance.createLoadBalancerRule.assert_called_with ({ 
        'networkid' : 'net-id', 
        'algorithm' : 'leastconn', 
        'publicport' : '80', 
        'privateport' : '8080', 
        'openfirewall' : 'false', 
        'publicipid' : 'lb-ip-id', 
        'name' : 'tsuru.abc.com', 
        'additionalportmap' : '81:8081,82:8082', 
        'projectid' : 'proj-123', 
}) 

    
    

    Fix the buggy line: cs_instance = exc_data.return_value
assistant
#Here is Python code to fix the buggy line: cs_instance = exc_data.

cs_instance = cs_mock.return_value