human
Solve the following python programming problem given the following code:
@ mock.patch ('sahara.service.engine.Engine._delete_aa_server_group') 
@ mock.patch ('sahara.service.engine.Engine._shutdown_instances') 
@ mock.patch ('sahara.service.engine.Engine._remove_db_objects') 
@ mock.patch ('sahara.service.engine.Engine._clean_job_executions') 
@ mock.patch ('sahara.utils.openstack.heat.client') 
@ mock.patch ('sahara.service.heat.heat_engine.LOG.warning') 
def test_calls_order(self, logger, heat_client, _job_ex, _db_ob, _shutdown, _delete_aa) : 
    class FakeHeatEngine (heat_engine.HeatEngine) : 
        def __init__(self) : 
            super (FakeHeatEngine, self).__init__ () 
            self.order = [] 
def _clean_job_executions(self, cluster) : 
            self.order.append ('clean_job_executions') 
            super (FakeHeatEngine, self)._clean_job_executions (cluster) 
def _remove_db_objects(self, cluster) : 
            self.order.append ('remove_db_objects') 
            super (FakeHeatEngine, self)._remove_db_objects (cluster) 
def _shutdown_instances(self, cluster) : 
            self.order.append ('shutdown_instances') 
            super (FakeHeatEngine, self)._shutdown_instances (cluster) 
def _delete_aa_server_group(self, cluster) : 
            self.order.append ('delete_aa_server_group') 
            super (FakeHeatEngine, self)._delete_aa_server_group (cluster) 
fake_cluster = mock.Mock () 
    heat_client.side_effect = heat_exc.HTTPNotFound () 
    engine = FakeHeatEngine () 
    engine.shutdown_cluster (fake_cluster) 
    self.assertEqual (['shutdown_instances', 'delete_aa_server_group', 'clean_job_executions', 'remove_db_objects'], engine.order) 
    self.assertEqual ([mock.call ('Did not find stack for cluster. Trying to delete cluster manually.')], fake_cluster.call_args_list) 

    
    

    Fix the buggy line: self.assertEqual ([mock.call ('Did not find stack for cluster. Trying to delete cluster manually.')], fake_cluster.call_args_list)
assistant
#Here is Python code to find stack for cluster.

self.assertEqual ([mock.call ('Did not find stack for cluster. Trying to delete cluster manually.')], logger.call_args_list)