mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 02:44:21 +02:00
Test dvsni with standalone-supported-challenges
This commit is contained in:
@@ -85,6 +85,11 @@ class SupportedChallengesValidatorTest(unittest.TestCase):
|
|||||||
def test_not_subset(self):
|
def test_not_subset(self):
|
||||||
self.assertRaises(argparse.ArgumentTypeError, self._call, "dns")
|
self.assertRaises(argparse.ArgumentTypeError, self._call, "dns")
|
||||||
|
|
||||||
|
def test_dvsni(self):
|
||||||
|
self.assertEqual("tls-sni-01", self._call("dvsni"))
|
||||||
|
self.assertEqual("http-01,tls-sni-01", self._call("http-01,dvsni"))
|
||||||
|
self.assertEqual("tls-sni-01,http-01", self._call("dvsni,http-01"))
|
||||||
|
|
||||||
|
|
||||||
class AuthenticatorTest(unittest.TestCase):
|
class AuthenticatorTest(unittest.TestCase):
|
||||||
"""Tests for certbot.plugins.standalone.Authenticator."""
|
"""Tests for certbot.plugins.standalone.Authenticator."""
|
||||||
|
|||||||
Reference in New Issue
Block a user