mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
Trivial test for ClientAuthenticator get_chall_pref
This commit is contained in:
parent
9d090017b5
commit
4af0c197e1
1 changed files with 4 additions and 0 deletions
|
|
@ -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."""
|
||||
|
|
|
|||
Loading…
Reference in a new issue