acme-spec#93 solved, ref boulder#130, acme-spec#110

This commit is contained in:
Jakub Warmuz 2015-05-01 10:09:56 +00:00
parent 0cb012a9fd
commit 9b5ea88abd
No known key found for this signature in database
GPG key ID: 2A7BAD3A489B52EA
2 changed files with 1 additions and 2 deletions

View file

@ -150,7 +150,6 @@ class Network(object):
response.links['terms-of-service']['url']
if 'terms-of-service' in response.links else terms_of_service)
# TODO: Consider removing this check based on spec clarifications #93
if new_authzr_uri is None:
try:
new_authzr_uri = response.links['next']['url']

View file

@ -285,10 +285,10 @@ class NetworkTest(unittest.TestCase):
self.challr.body.update(uri='foo'), chall_response)
def test_answer_challenge_missing_next(self):
# TODO: Change once acme-spec #93 is resolved/boulder issue
self._mock_post_get()
self.assertTrue(self.net.answer_challenge(
self.challr.body, challenges.DNSResponse()) is None)
# TODO: boulder#130, acme-spec#110
# self.assertRaises(errors.NetworkError, self.net.answer_challenge,
# self.challr.body, challenges.DNSResponse())