mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
* Stop using print in `certbot.main` module. * Update certbot.main.plugins_cmd` function. * Update test methods `test_plugins_no_args`, `test_plugins_no_args_unprivileged`, `test_plugins_init` and `test_plugins_prepare` in `cerbot.tests.MainTest` class. Addresses #3720. * certbot: Add `patch_get_utility_with_stdout` function. * Add functions `certbot.tests.util.patch_get_utility_with_stdout` and `certbot.tests.util._create_get_utility_mock_with_stdout`. * certbot: tests: Update tests in MainTest. * Update methods `test_plugins_no_args`, `test_plugins_no_args_unprivileged`, and `test_plugins_init`, `test_plugins_prepare` to use `patch_get_utility_with_stdout`. * certbot: tests: Update _create_get_utility_mock_with_stdout. * Update certbot.tests.util._create_get_utility_mock_with_stdout function. The mock function for all IDisplay methods, except `notification` method, calls _write_msg and _assert_valid_call. * certbot: tests: Update `patch_get_utility_with_stdout` * Update doc string. * Argument stdout's default value is None now. * certbot: tests: Update util._create_get_utility_mock_with_stdout. |
||
|---|---|---|
| .. | ||
| display | ||
| plugins | ||
| tests | ||
| .gitignore | ||
| __init__.py | ||
| account.py | ||
| achallenges.py | ||
| auth_handler.py | ||
| cert_manager.py | ||
| cli.py | ||
| client.py | ||
| configuration.py | ||
| constants.py | ||
| crypto_util.py | ||
| eff.py | ||
| error_handler.py | ||
| errors.py | ||
| hooks.py | ||
| interfaces.py | ||
| lock.py | ||
| log.py | ||
| main.py | ||
| notify.py | ||
| ocsp.py | ||
| renewal.py | ||
| reporter.py | ||
| reverter.py | ||
| ssl-dhparams.pem | ||
| storage.py | ||
| util.py | ||