original_docstring: 
          If the provided intent returns a response consistent with a Nova
          compute fault error, then performing the request will raise a
          :class:`NovaComputeFaultError`
          
docstring: If the provided intent returns a response consistent with a Nova
  compute fault error, then performing the request will raise a
docstring_tokens: If the provided intent returns a response consistent with a Nova compute fault error then performing the request will raise a
code: def assert_handles_nova_compute_fault(self, intent, effect):
          """
          If the provided intent returns a response consistent with a Nova
          compute fault error, then performing the request will raise a
          :class:`NovaComputeFaultError`
          """
          failure_body = {
              "computeFault": {
                  "code": 500,
                  "message": ("The server has either erred or is incapable of "
                              "performing the requested operation."),
              }
          }
          with self.assertRaises(NovaComputeFaultError) as cm:
              _perform_one_request(intent, effect, 500, json.dumps(failure_body))
  
          self.assertEqual(
              cm.exception,
              NovaComputeFaultError(
                  "The server has either erred or is incapable of performing "
                  "the requested operation."))
code_tokens: def assert_handles_nova_compute_fault ( self , intent , effect ) : failure_body = { "computeFault" : { "code" : 500 , "message" : ( "The server has either erred or is incapable of " "performing the requested operation." ) , } } with self . assertRaises ( NovaComputeFaultError ) as cm : _perform_one_request ( intent , effect , 500 , json . dumps ( failure_body ) ) self . assertEqual ( cm . exception , NovaComputeFaultError ( "The server has either erred or is incapable of performing " "the requested operation." ) )
short_docstring: If the provided intent returns a response consistent with a Nova
  compute fault error, then performing the request will raise a
short_docstring_tokens: If the provided intent returns a response consistent with a Nova compute fault error then performing the request will raise a
comment: """
          If the provided intent returns a response consistent with a Nova
          compute fault error, then performing the request will raise a
          :class:`NovaComputeFaultError`
          """