From 9a6ecbe669fd250b055cbab062f2540734b5b28b Mon Sep 17 00:00:00 2001 From: Peter Eckersley Date: Mon, 26 Oct 2015 11:53:41 -0700 Subject: [PATCH] Test case for new verb variant --- letsencrypt/tests/cli_test.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/letsencrypt/tests/cli_test.py b/letsencrypt/tests/cli_test.py index cb2360dd0..27892cdc4 100644 --- a/letsencrypt/tests/cli_test.py +++ b/letsencrypt/tests/cli_test.py @@ -115,6 +115,12 @@ class CLITest(unittest.TestCase): # (we can only do that if letsencrypt-nginx is actually present) ret, _, _, _ = self._call(args) self.assertTrue("The nginx plugin is not working" in ret) + self.assertTrue("Could not find configuration root" in ret) + + with MockedVerb("auth") as mock_auth: + from letsencrypt import cli + self._call(["certonly", "--standalone"]) + self.assertEqual(1, mock_auth.call_count) def test_rollback(self): _, _, _, client = self._call(['rollback'])