Beispiel #1
0
class InstallerTest(unittest.TestCase):
    """Tests for letsencrypt.plugins.null.Installer."""
    def setUp(self):
        from letsencrypt.plugins.null import Installer
        self.installer = Installer(config=mock.MagicMock(), name="null")

    def test_it(self):
        self.assertTrue(isinstance(self.installer.more_info(), str))
        self.assertEqual([], self.installer.get_all_names())
        self.assertEqual([], self.installer.supported_enhancements())
        self.assertEqual([], self.installer.get_all_certs_keys())
Beispiel #2
0
class InstallerTest(unittest.TestCase):
    """Tests for letsencrypt.plugins.null.Installer."""

    def setUp(self):
        from letsencrypt.plugins.null import Installer
        self.installer = Installer(config=mock.MagicMock(), name="null")

    def test_it(self):
        self.assertTrue(isinstance(self.installer.more_info(), str))
        self.assertEqual([], self.installer.get_all_names())
        self.assertEqual([], self.installer.supported_enhancements())
        self.assertEqual([], self.installer.get_all_certs_keys())
Beispiel #3
0
 def setUp(self):
     from letsencrypt.plugins.null import Installer
     self.installer = Installer(config=mock.MagicMock(), name="null")
Beispiel #4
0
 def setUp(self):
     from letsencrypt.plugins.null import Installer
     self.installer = Installer(config=mock.MagicMock(), name="null")