fix test_perform_failure

This commit is contained in:
Brad Warren
2016-02-26 13:09:00 -08:00
parent a2e8c5bde8
commit 6c4e29fb49
+1 -1
View File
@@ -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(