コード例 #1
0
 def test_from_json_hashable(self):
     from acme.challenges import HTTP01Response
     hash(HTTP01Response.from_json(self.jmsg))
コード例 #2
0
 def test_from_json_hashable(self):
     from acme.challenges import HTTP01Response
     hash(HTTP01Response.from_json(self.jmsg))
コード例 #3
0
 def test_from_json(self):
     from acme.challenges import HTTP01Response
     self.assertEqual(
         self.msg, HTTP01Response.from_json(self.jmsg))
コード例 #4
0
 def test_from_json(self):
     from acme.challenges import HTTP01Response
     self.assertEqual(
         self.msg, HTTP01Response.from_json(self.jmsg))