diff --git a/certbot-ci/certbot_integration_tests/utils/certbot_call.py b/certbot-ci/certbot_integration_tests/utils/certbot_call.py index ef20489b1..884be0457 100755 --- a/certbot-ci/certbot_integration_tests/utils/certbot_call.py +++ b/certbot-ci/certbot_integration_tests/utils/certbot_call.py @@ -46,7 +46,7 @@ def _prepare_args_env(certbot_args, directory_url, http_01_port, tls_alpn_01_por universal_newlines=True, stderr=subprocess.STDOUT, cwd=workspace) except BaseException as e: - print(e) + print(e.output) raise # Typical response is: output = 'certbot 0.31.0.dev0' version_str = version_output.split(' ')[1].strip() diff --git a/tox.ini b/tox.ini index 402f42c49..e8d5313b3 100644 --- a/tox.ini +++ b/tox.ini @@ -254,6 +254,7 @@ setenv = {[testenv:py27-oldest]setenv} commands = {[base]pip_install} certbot-nginx {[base]pip_install} certbot-ci + env certbot --version pytest certbot-ci/certbot_integration_tests/nginx_tests \ --acme-server={env:ACME_SERVER:pebble}