

def test_from_json_unrecognized(self):
    from acme.challenges import Challenge
    from acme.challenges import UnrecognizedChallenge
    chall = UnrecognizedChallenge({
        'type': 'foo',
    })
    self.assertEqual(chall, Challenge.from_json(chall.jobj))

dataset/ETHPy150Open letsencrypt/letsencrypt/acme/acme/challenges_test.py ChallengeTest.test_from_json_unrecognized/original