mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 13:59:02 -04:00
update tests
This commit is contained in:
parent
20e0e1f99b
commit
1999f10ce5
1 changed files with 0 additions and 9 deletions
|
|
@ -44,15 +44,6 @@ class ChallengeFactoryTest(unittest.TestCase):
|
|||
|
||||
assert [achall.chall for achall in achalls] == [acme_util.HTTP01]
|
||||
|
||||
def test_unrecognized(self):
|
||||
authzr = acme_util.gen_authzr(
|
||||
messages.STATUS_PENDING, "test",
|
||||
[mock.Mock(chall="chall", typ="unrecognized")],
|
||||
[messages.STATUS_PENDING])
|
||||
|
||||
with pytest.raises(errors.Error):
|
||||
self.handler._challenge_factory(authzr, [0])
|
||||
|
||||
|
||||
class HandleAuthorizationsTest(unittest.TestCase):
|
||||
"""handle_authorizations test.
|
||||
|
|
|
|||
Loading…
Reference in a new issue