Add test for ChallengeBody proxy behaviour

This commit is contained in:
Jakub Warmuz 2015-05-05 19:09:35 +00:00
parent 3c645a9916
commit 6580d3a85b
No known key found for this signature in database
GPG key ID: 2A7BAD3A489B52EA

View file

@ -169,6 +169,9 @@ class ChallengeBodyTest(unittest.TestCase):
from letsencrypt.acme.messages2 import ChallengeBody
hash(ChallengeBody.from_json(self.jobj_from))
def test_proxy(self):
self.assertEqual('foo', self.challb.token)
class AuthorizationTest(unittest.TestCase):
"""Tests for letsencrypt.acme.messages2.Authorization."""