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:
@@ -1315,7 +1315,6 @@ def prepare_and_parse_args(plugins, args):
|
||||
|
||||
global _parser
|
||||
_parser = helpful
|
||||
print("stored _parser")
|
||||
return helpful.parse_args()
|
||||
|
||||
|
||||
|
||||
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user