

@defer.inlineCallbacks
def test_bad_request(self):
    request = {
        'jsonrpc': '2.0',
        'method': 1,
        'id': '1',
    }
    expected = {
        'jsonrpc': '2.0',
        'error': {
            'code': (- 32600),
            'message': 'Invalid request',
        },
        'id': '1',
    }
    (yield self.makeRequest(self, expected))

dataset/ETHPy150Open flowroute/txjason/txjason/tests/test_service.py ServiceTestCase.test_bad_request/VarMisuse@78/118 `request`->`self`