예제 #1
0
 def test_from_json(self):
     from acme.challenges import DNS01
     self.assertEqual(self.msg, DNS01.from_json(self.jmsg))
 def test_from_json_hashable(self):
     from acme.challenges import DNS01
     hash(DNS01.from_json(self.jmsg))
예제 #3
0
 def test_from_json_hashable(self):
     from acme.challenges import DNS01
     hash(DNS01.from_json(self.jmsg))
 def test_from_json(self):
     from acme.challenges import DNS01
     self.assertEqual(self.msg, DNS01.from_json(self.jmsg))