Example #1
0
 def test_from_json_hashable(self):
     from acme.challenges import TLSALPN01Response
     hash(TLSALPN01Response.from_json(self.jmsg))
 def test_from_json_hashable(self):
     from acme.challenges import TLSALPN01Response
     hash(TLSALPN01Response.from_json(self.jmsg))
Example #3
0
 def test_from_json(self):
     from acme.challenges import TLSALPN01Response
     self.assertEqual(self.response, TLSALPN01Response.from_json(self.jmsg))
 def test_from_json(self):
     from acme.challenges import TLSALPN01Response
     self.assertEqual(self.msg, TLSALPN01Response.from_json(self.jmsg))