def test_check_non_empty_response(self):
    orig_request = test_utils.build_request('/_ah/api/test', '{}')
    method_config = {'response': {'body': 'autoTemplate(backendResponse)'}}
    empty_response = self.server.check_empty_response(orig_request,
                                                      method_config,
                                                      self.start_response)
    self.assertIsNone(empty_response)
    self.assertIsNone(self.response_status)
    self.assertIsNone(self.response_headers)
    self.assertIsNone(self.response_exc_info)
Implements the Update device Portals API.
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/tools/devappserver2/endpoints/endpoints_server_test.py/DevAppserverEndpointsServerTest.test_check_non_empty_response--crossover with--dataset/ETHPy150Open exosite-labs/pyonep/pyonep/portals/endpoints.py/Endpoints.update_device