mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 00:22:28 +02:00
Expect a fixed standalone challenge preference
This commit is contained in:
@@ -104,8 +104,8 @@ class AuthenticatorTest(unittest.TestCase):
|
|||||||
self.assertTrue(isinstance(self.auth.more_info(), six.string_types))
|
self.assertTrue(isinstance(self.auth.more_info(), six.string_types))
|
||||||
|
|
||||||
def test_get_chall_pref(self):
|
def test_get_chall_pref(self):
|
||||||
self.assertEqual(set(self.auth.get_chall_pref(domain=None)),
|
self.assertEqual(self.auth.get_chall_pref(domain=None),
|
||||||
set([challenges.TLSSNI01, challenges.HTTP01]))
|
[challenges.TLSSNI01, challenges.HTTP01])
|
||||||
|
|
||||||
@mock.patch("letsencrypt.plugins.standalone.util")
|
@mock.patch("letsencrypt.plugins.standalone.util")
|
||||||
def test_perform_alredy_listening(self, mock_util):
|
def test_perform_alredy_listening(self, mock_util):
|
||||||
|
|||||||
Reference in New Issue
Block a user