update tests

This commit is contained in:
Q 2023-04-20 21:56:52 +01:00
parent 20e0e1f99b
commit 1999f10ce5
No known key found for this signature in database
GPG key ID: 2A6427FE566B8419

View file

@ -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.