mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 16:30:31 +02:00
Trying to satisfy pylint
This commit is contained in:
+2
-2
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user