Пример #1
0
 def setUp(self):
     from letsencrypt.plugins.standalone import Authenticator
     self.config = mock.MagicMock(
         dvsni_port=1234,
         simple_http_port=4321,
         standalone_supported_challenges="dvsni,simpleHttp")
     self.auth = Authenticator(self.config, name="standalone")
 def setUp(self):
     from letsencrypt.plugins.standalone import Authenticator
     self.config = mock.MagicMock(
         tls_sni_01_port=1234,
         http01_port=4321,
         standalone_supported_challenges="tls-sni-01,http-01")
     self.auth = Authenticator(self.config, name="standalone")