1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-24 19:22:07 +03:00

s/--apache/--standalong in non-interactive unit tests

Since apache may not be installed in travis or other test envs
This commit is contained in:
Peter Eckersley
2016-01-09 15:10:06 -08:00
parent 77ec944da1
commit 1f45c2ca5c

View File

@@ -146,7 +146,7 @@ class CLITest(unittest.TestCase): # pylint: disable=too-many-public-methods
def test_noninteractive(self):
args = ['-n', 'certonly']
self._cli_missing_flag(args, "specify a plugin")
args.extend(['--apache', '-d', 'eg.is'])
args.extend(['--standalone', '-d', 'eg.is'])
self._cli_missing_flag(args, "register before running")
with mock.patch('letsencrypt.cli._auth_from_domains'):
with mock.patch('letsencrypt.cli.client.acme_from_config_key'):