mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 07:42:08 -04:00
fix py26
This commit is contained in:
parent
016e10f415
commit
ee2e0948f4
2 changed files with 4 additions and 4 deletions
|
|
@ -244,7 +244,6 @@ class PollChallengesTest(unittest.TestCase):
|
|||
self.assertRaises(
|
||||
errors.AuthorizationError, self.handler.verify_authzr_complete)
|
||||
|
||||
|
||||
def _mock_poll_solve_one_valid(self, authzr):
|
||||
# Pending here because my dummy script won't change the full status.
|
||||
# Basically it didn't raise an error and it stopped earlier than
|
||||
|
|
|
|||
|
|
@ -284,12 +284,13 @@ class NetworkTest(unittest.TestCase):
|
|||
self.assertRaises(errors.UnexpectedUpdate, self.net.answer_challenge,
|
||||
self.challr.body.update(uri='foo'), chall_response)
|
||||
|
||||
@unittest.skip("Skip til challenge_resource boulder issue is resolved")
|
||||
def test_answer_challenge_missing_next(self):
|
||||
# TODO: Change once acme-spec #93 is resolved/boulder issue
|
||||
self._mock_post_get()
|
||||
self.assertRaises(errors.NetworkError, self.net.answer_challenge,
|
||||
self.challr.body, challenges.DNSResponse())
|
||||
self.assertTrue(self.net.answer_challenge(
|
||||
self.challr.body, challenges.DNSResponse()) is None)
|
||||
# self.assertRaises(errors.NetworkError, self.net.answer_challenge,
|
||||
# self.challr.body, challenges.DNSResponse())
|
||||
|
||||
def test_retry_after_date(self):
|
||||
self.response.headers['Retry-After'] = 'Fri, 31 Dec 1999 23:59:59 GMT'
|
||||
|
|
|
|||
Loading…
Reference in a new issue