mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 08:08:00 +02:00
Merge pull request #1477 from joohoi/fix_1454_tests
Fix test broken by #1454 if nginx installation not present in system
This commit is contained in:
@@ -139,7 +139,9 @@ class CLITest(unittest.TestCase): # pylint: disable=too-many-public-methods
|
|||||||
'--key-path', 'key', '--chain-path', 'chain'])
|
'--key-path', 'key', '--chain-path', 'chain'])
|
||||||
self.assertEqual(mock_display_ops.pick_installer.call_count, 1)
|
self.assertEqual(mock_display_ops.pick_installer.call_count, 1)
|
||||||
|
|
||||||
def test_configurator_selection(self):
|
@mock.patch('letsencrypt.le_util.exe_exists')
|
||||||
|
def test_configurator_selection(self, mock_exe_exists):
|
||||||
|
mock_exe_exists.return_value = True
|
||||||
real_plugins = disco.PluginsRegistry.find_all()
|
real_plugins = disco.PluginsRegistry.find_all()
|
||||||
args = ['--agree-dev-preview', '--apache',
|
args = ['--agree-dev-preview', '--apache',
|
||||||
'--authenticator', 'standalone']
|
'--authenticator', 'standalone']
|
||||||
|
|||||||
Reference in New Issue
Block a user