mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 19:02:52 +02:00
fixed unit test testing standalone desc
This commit is contained in:
@@ -50,7 +50,7 @@ class PluginEntryPointTest(unittest.TestCase):
|
|||||||
name, PluginEntryPoint.entry_point_to_plugin_name(entry_point))
|
name, PluginEntryPoint.entry_point_to_plugin_name(entry_point))
|
||||||
|
|
||||||
def test_description(self):
|
def test_description(self):
|
||||||
self.assertEqual("Standalone Authenticator", self.plugin_ep.description)
|
self.assertEqual("LE Will Automatically Test Your Domain", self.plugin_ep.description)
|
||||||
|
|
||||||
def test_description_with_name(self):
|
def test_description_with_name(self):
|
||||||
self.plugin_ep.plugin_cls = mock.MagicMock(description="Desc")
|
self.plugin_ep.plugin_cls = mock.MagicMock(description="Desc")
|
||||||
|
|||||||
Reference in New Issue
Block a user