original_docstring: 
          If the provided intent returns a response consistent with a server not
          existing, then performing the effect will raise a
          :class:`NoSuchServerError`.
          
docstring: If the provided intent returns a response consistent with a server not
  existing, then performing the effect will raise a
docstring_tokens: If the provided intent returns a response consistent with a server not existing then performing the effect will raise a
code: def assert_handles_no_such_server(self, intent, effect, server_id):
          """
          If the provided intent returns a response consistent with a server not
          existing, then performing the effect will raise a
          :class:`NoSuchServerError`.
          """
          message = "Server does not exist"
          failure_body = {"itemNotFound": {"message": message, "code": 404}}
  
          dispatcher = EQFDispatcher([(
              intent,
              service_request_eqf(
                  stub_pure_response(json.dumps(failure_body), 404)))])
  
          with self.assertRaises(NoSuchServerError) as cm:
              sync_perform(dispatcher, effect)
  
          self.assertEqual(
              cm.exception,
              NoSuchServerError(message, server_id=six.text_type(server_id)))
code_tokens: def assert_handles_no_such_server ( self , intent , effect , server_id ) : message = "Server does not exist" failure_body = { "itemNotFound" : { "message" : message , "code" : 404 } } dispatcher = EQFDispatcher ( [ ( intent , service_request_eqf ( stub_pure_response ( json . dumps ( failure_body ) , 404 ) ) ) ] ) with self . assertRaises ( NoSuchServerError ) as cm : sync_perform ( dispatcher , effect ) self . assertEqual ( cm . exception , NoSuchServerError ( message , server_id = six . text_type ( server_id ) ) )
short_docstring: If the provided intent returns a response consistent with a server not
  existing, then performing the effect will raise a
short_docstring_tokens: If the provided intent returns a response consistent with a server not existing then performing the effect will raise a
comment: """
          If the provided intent returns a response consistent with a server not
          existing, then performing the effect will raise a
          :class:`NoSuchServerError`.
          """