def test_resultWithIdentifier(self): response = json.loads(jsonrpc.encode("result", identifier=1)) self.assertWellFormed(response) self.assertEqual(response["id"], 1)
def test_result(self): response = json.loads(jsonrpc.encode("result")) self.assertWellFormed(response)