human
Solve the following python programming problem given the following code:
def _do_test_exception_safety_reflected_in_faults(self, expose) : 
    class ExceptionWithSafety (exception.NovaException) : 
        safe = expose 
@ webob.dec.wsgify 
    def fail(req) : 
        raise ExceptionWithSafety ('some explanation') 
api = self._wsgi_app (fail) 
    resp = webob.Request.blank ('/').get_response (api) 
    self.assertIn ('{"computeFault', resp.body) 
    expected = ('ExceptionWithSafety: some explanation' if expose else 'The server has either erred or is incapable of performing the requested operation.') 
    self.assertIn (expected, resp.body) 
    self.assertEqual (resp.status_int, 500, api.body) 

    
    

    Fix the buggy line: self.assertEqual (resp.status_int, 500, api.body)
assistant
#Here is Python code to fix the buggy line: self.

self.assertEqual (resp.status_int, 500, resp.body)