From 64c2eccadcd3aff2d8cd9a401e2a18ca035ac212 Mon Sep 17 00:00:00 2001 From: Erica Portnoy Date: Wed, 14 Feb 2018 15:23:10 -0800 Subject: [PATCH] remove --agree-tos test from main_test for now because we moved the callback into acme --- certbot/tests/main_test.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/certbot/tests/main_test.py b/certbot/tests/main_test.py index 3a0073107..ff1783481 100644 --- a/certbot/tests/main_test.py +++ b/certbot/tests/main_test.py @@ -642,10 +642,6 @@ class MainTest(test_util.ConfigTestCase): # pylint: disable=too-many-public-met self._cli_missing_flag(args, "specify a plugin") args.extend(['--standalone', '-d', 'eg.is']) self._cli_missing_flag(args, "register before running") - with mock.patch('certbot.main._get_and_save_cert'): - with mock.patch('certbot.main.client.acme_from_config_key'): - args.extend(['--email', 'io@io.is']) - self._cli_missing_flag(args, "--agree-tos") @mock.patch('certbot.main._report_new_cert') @mock.patch('certbot.main.client.acme_client.Client')