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

Minimal test unbreakage

Though really this test will need to be redesigned :(
This commit is contained in:
Peter Eckersley
2016-02-03 11:52:57 -08:00
parent 05c07ad90c
commit ec7e957fe6
2 changed files with 1 additions and 2 deletions

View File

@@ -1315,7 +1315,6 @@ def prepare_and_parse_args(plugins, args):
global _parser
_parser = helpful
print("stored _parser")
return helpful.parse_args()

View File

@@ -567,7 +567,7 @@ class CLITest(unittest.TestCase): # pylint: disable=too-many-public-methods
self.assertTrue('donate' in get_utility().add_message.call_args[0][0])
def test_certonly_dry_run_reinstall_is_renewal(self):
_, get_utility = self._test_certonly_renewal_common('reinstall',
_, get_utility = self._test_certonly_renewal_common('renew',
['--dry-run'])
self.assertEqual(get_utility().add_message.call_count, 1)
self.assertTrue('dry run' in get_utility().add_message.call_args[0][0])