From 50267acb272d1bcaa2e32adef0067709e5b028de Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Fri, 26 Feb 2016 15:36:22 -0800 Subject: [PATCH] test dumb path failure --- letsencrypt/tests/auth_handler_test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/letsencrypt/tests/auth_handler_test.py b/letsencrypt/tests/auth_handler_test.py index f4c09a5ba..6f73c35d7 100644 --- a/letsencrypt/tests/auth_handler_test.py +++ b/letsencrypt/tests/auth_handler_test.py @@ -338,8 +338,12 @@ class GenChallengePathTest(unittest.TestCase): prefs = [challenges.TLSSNI01] combos = ((0, 1),) + # smart path fails because no challs in perfs satisfies combos self.assertRaises( errors.AuthorizationError, self._call, challbs, prefs, combos) + # dumb path fails because all challbs are not supported + self.assertRaises( + errors.AuthorizationError, self._call, challbs, prefs, None) class ReportFailedChallsTest(unittest.TestCase):