def test_callRemote_error_response(self):
        d = self.factory.callRemote('spam')
        self.endpoint.proto.stringReceived(json.dumps(
            {'jsonrpc': '2.0', 'id': 1, 'error': {
                'message': 'error', 'code': -19}}))
        self.failureResultOf(d, client.JSONRPCClientError)
Creates the initial editor control.
dataset/ETHPy150Open flowroute/txjason/txjason/tests/test_netstring.py/ClientTestCase.test_callRemote_error_response--crossover with--dataset/ETHPy150Open enthought/traitsui/traitsui/wx/check_list_editor.py/CustomEditor.create_control