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