mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:05:31 +02:00
fix test_perform_failure
This commit is contained in:
@@ -130,7 +130,7 @@ class GetAuthorizationsTest(unittest.TestCase):
|
||||
|
||||
def test_perform_failure(self):
|
||||
self.mock_net.request_domain_challenges.side_effect = functools.partial(
|
||||
gen_dom_authzr, challs=acme_util.CHALLENGES)
|
||||
gen_dom_authzr, challs=acme_util.DV_CHALLENGES)
|
||||
self.mock_dv_auth.perform.side_effect = errors.AuthorizationError
|
||||
|
||||
self.assertRaises(
|
||||
|
||||
Reference in New Issue
Block a user