certbot/certbot
r5d 85deca588f Stop using print in certbot.main module. (#5121)
* 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.
2017-09-25 18:42:31 -07:00
..
display Replace the easy v. secure prompt with more clear choices (#4897) 2017-06-30 17:12:09 -07:00
plugins Use ffdhe2048 Nginx DH params to fix Weak-DH bug (#4973) 2017-09-01 07:57:30 -07:00
tests Stop using print in certbot.main module. (#5121) 2017-09-25 18:42:31 -07:00
.gitignore s/letsencrypt/certbot 2016-04-13 16:03:59 -07:00
__init__.py Bump version to 0.19.0 2017-09-05 16:07:03 -07:00
account.py Improve Account.repr() (#4325) 2017-04-18 17:09:22 -07:00
achallenges.py No longer mask failed challenge errors with encoding errors (#4867) 2017-07-10 21:05:52 -05:00
auth_handler.py Add AAAA record check suggestion (#4824) 2017-06-12 07:40:56 -07:00
cert_manager.py Align domain names output to command line input (#4874) 2017-07-07 12:46:30 -07:00
cli.py add info about -d (#5097) 2017-09-21 08:52:01 -07:00
client.py client: allow callers to add information to the user agent (#4690) 2017-08-01 11:34:35 -07:00
configuration.py Use setattr in NamespaceConfig (#4362) 2017-03-17 13:02:41 -07:00
constants.py #4435. CLI Argument Default Organization (#5037) 2017-09-15 17:10:43 -07:00
crypto_util.py Fix for revoke cert by key process 2017-07-08 19:36:39 +02:00
eff.py Certbot spelling correction (#4157) 2017-02-01 18:37:59 -08:00
error_handler.py Fix documentation build failures (#5068) 2017-08-31 16:35:53 -07:00
errors.py Add lockfile (#4449) 2017-05-01 14:49:12 -07:00
hooks.py add hooks.deploy_hook 2017-06-30 10:24:00 -04:00
interfaces.py Low-impact cleanup of IDisplay (#4818) 2017-06-15 17:14:38 -07:00
lock.py Add lockfile (#4449) 2017-05-01 14:49:12 -07:00
log.py Finish adding configurable log rotation 2017-07-11 21:14:18 -05:00
main.py Stop using print in certbot.main module. (#5121) 2017-09-25 18:42:31 -07:00
notify.py s/Let's Encrypt/Certbot 2016-04-13 16:13:50 -07:00
ocsp.py Fix direct usages of the root logger (#4236) 2017-02-27 18:13:06 -08:00
renewal.py certbot: Update renew command output in quiet mode. (#5062) 2017-08-31 11:01:15 -07:00
reporter.py Refactoring for better logging (#4444) 2017-03-30 16:17:57 -07:00
reverter.py Start work on multivhost support in Apache 2017-05-02 15:38:27 -07:00
ssl-dhparams.pem Use ffdhe2048 Nginx DH params to fix Weak-DH bug (#4973) 2017-09-01 07:57:30 -07:00
storage.py certbot: Update storage.get_link_target (#4750) (#4923) 2017-07-13 10:13:59 -07:00
util.py Tweak non-root error message. (#4944) 2017-07-18 12:47:10 -07:00