

@defer.inlineCallbacks
def test_deferred(self):
    request = {
        'jsonrpc': '2.0',
        'method': 'deferred_echo',
        'params': ['x'],
        'id': 1,
    }
    expected = {
        'jsonrpc': '2.0',
        'result': 'x',
        'id': 1,
    }
    (yield self.makeRequest(self, expected))

dataset/ETHPy150Open flowroute/txjason/txjason/tests/test_service.py ServiceTestCase.test_deferred/VarMisuse@70/106 `request`->`self`