Fix port-merge get_chall_msg error

This commit is contained in:
Jakub Warmuz 2015-02-15 12:37:56 +00:00
parent c6ec49e90d
commit 02d5775aff
No known key found for this signature in database
GPG key ID: 2A7BAD3A489B52EA

View file

@ -66,7 +66,8 @@ class SatisfyChallengesTest(unittest.TestCase):
def test_name1_rectok1(self):
dom = "0"
challenge = [acme_util.CHALLENGES["recoveryToken"]]
msg = acme_util.get_chall_msg(dom, "nonce0", challenge)
msg = messages.Challenge(session_id=dom, nonce="nonce0",
challenges=challenge, combinations=[])
self.handler.add_chall_msg(dom, msg, "dummy_key")
self.handler._satisfy_challenges() # pylint: disable=protected-access