From 07202c6e2a1b5f8f4bebde667679c5e7b5d7fd31 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Fri, 2 Mar 2018 18:06:26 -0800 Subject: [PATCH] no certbot? --- tests/lock_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/lock_test.py b/tests/lock_test.py index 9ce8093a0..af2b19180 100644 --- a/tests/lock_test.py +++ b/tests/lock_test.py @@ -20,6 +20,8 @@ logger = logging.getLogger(__name__) def main(): """Run the lock tests.""" + if not util.exe_exists('certbot'): + sys.exit("no certbot?!") dirs, base_cmd = set_up() for subcommand in ('certonly', 'install', 'renew', 'run',): logger.info('Testing subcommand: %s', subcommand)