

@defer.inlineCallbacks
def test_bad_method(self):
    request = {
        'jsonrpc': '2.0',
        'method': 'foobar',
        'id': '1',
    }
    expected = {
        'jsonrpc': '2.0',
        'error': {
            'code': (- 32601),
            'message': 'Method not found',
        },
        'id': '1',
    }
    (yield self.makeRequest(request, self))

dataset/ETHPy150Open flowroute/txjason/txjason/tests/test_service.py ServiceTestCase.test_bad_method/VarMisuse@80/124 `expected`->`self`