mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:22 +02:00
Trivial test for ClientAuthenticator get_chall_pref
This commit is contained in:
@@ -41,6 +41,10 @@ class PerformTest(unittest.TestCase):
|
||||
self.assertRaises(
|
||||
errors.LetsEncryptClientAuthError, self.auth.perform, [unexpected])
|
||||
|
||||
def test_chall_pref(self):
|
||||
self.assertEqual(
|
||||
self.auth.get_chall_pref("example.com"), ["recoveryToken"])
|
||||
|
||||
|
||||
class CleanupTest(unittest.TestCase):
|
||||
"""Test the Authenticator cleanup function."""
|
||||
|
||||
Reference in New Issue
Block a user