Esempio n. 1
0
 def test_from_json_hashable(self):
     from acme.challenges import HTTP01
     hash(HTTP01.from_json(self.jmsg))
 def test_from_json_hashable(self):
     from acme.challenges import HTTP01
     hash(HTTP01.from_json(self.jmsg))
Esempio n. 3
0
 def test_from_json(self):
     from acme.challenges import HTTP01
     self.assertEqual(self.msg, HTTP01.from_json(self.jmsg))
 def test_from_json(self):
     from acme.challenges import HTTP01
     self.assertEqual(self.msg, HTTP01.from_json(self.jmsg))