mirror of
https://github.com/certbot/certbot.git
synced 2026-03-23 02:43:55 -04:00
Trying to satisfy pylint
This commit is contained in:
parent
de455ac6e0
commit
374e4ebb4d
2 changed files with 3 additions and 3 deletions
|
|
@ -1589,8 +1589,8 @@ def _plugins_parsing(helpful, plugins):
|
|||
helpful.add("webroot", "--webroot-map", default={}, action=WebrootMapProcessor,
|
||||
help="JSON dictionary mapping domains to webroot paths; this "
|
||||
"implies -d for each entry. You may need to escape this "
|
||||
"from your shell. "
|
||||
"""E.g.: --webroot-map '{"eg1.is,m.eg1.is":"/www/eg1/", "eg2.is":"/www/eg2"}' """
|
||||
"from your shell. E.g.: --webroot-map "
|
||||
"""'{"eg1.is,m.eg1.is":"/www/eg1/", "eg2.is":"/www/eg2"}' """
|
||||
"This option is merged with, but takes precedence over, "
|
||||
"-w / -d entries. At present, if you put webroot-map in "
|
||||
"a config file, it needs to be on a single line, like: "
|
||||
|
|
|
|||
|
|
@ -326,7 +326,7 @@ class CLITest(unittest.TestCase): # pylint: disable=too-many-public-methods
|
|||
self.assertEqual(config.fullchain_path, os.path.abspath(fullchain))
|
||||
|
||||
def test_certonly_bad_args(self):
|
||||
ret, _, _, _ = self._call(['-d', 'foo.bar', 'certonly', '--csr', CSR])
|
||||
_, _, _, _ = self._call(['-d', 'foo.bar', 'certonly', '--csr', CSR])
|
||||
# self.assertEqual(ret, '--domains and --csr are mutually exclusive')
|
||||
# self.assertRaises(errors.Error, self._call,
|
||||
# ['-d', 'foo.bar', 'certonly', '--csr', CSR])
|
||||
|
|
|
|||
Loading…
Reference in a new issue