def test_from_json_hashable(self): from acme.challenges import DVSNI hash(DVSNI.from_json(self.jmsg))
def test_from_json(self): from acme.challenges import DVSNI self.assertEqual(self.msg, DVSNI.from_json(self.jmsg))