mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 16:30:31 +02:00
Fixing tests
This commit is contained in:
@@ -126,7 +126,10 @@ class GetAuthorizationsTest(unittest.TestCase):
|
||||
for achall in self.mock_auth.cleanup.call_args[0][0]:
|
||||
self.assertTrue(achall.typ in ["tls-sni-01", "http-01", "dns"])
|
||||
|
||||
self.assertEqual(len(authzr), 1)
|
||||
# Length of authorizations list
|
||||
self.assertEqual(len(authzr[0]), 1)
|
||||
# Length of valid domains list
|
||||
self.assertEqual(len(authzr[1]), 1)
|
||||
|
||||
@mock.patch("letsencrypt.auth_handler.AuthHandler._poll_challenges")
|
||||
def test_name3_tls_sni_01_3(self, mock_poll):
|
||||
|
||||
Reference in New Issue
Block a user