Check --check-ocsp flags, and test those checks

This commit is contained in:
Peter Eckersley
2016-12-21 14:38:26 -08:00
parent 509f4029bb
commit f495863da9
3 changed files with 10 additions and 1 deletions
+4
View File
@@ -268,6 +268,10 @@ class ParseTest(unittest.TestCase):
self.assertRaises(
errors.Error, self.parse, "-n --force-interactive".split())
def test_check_ocsp(self):
self.assertRaises(errors.Error, self.parse, "certificates --check-ocsp bogus".split())
self.parse("certificates --check-ocsp lazy".split())
class DefaultTest(unittest.TestCase):
"""Tests for certbot.cli._Default."""