From 6c3ae10f9b1e94d0f38d73c15f593b348556e5d4 Mon Sep 17 00:00:00 2001 From: Joona Hoikkala Date: Wed, 10 Aug 2016 01:39:53 +0300 Subject: [PATCH] Added test case --- certbot-apache/certbot_apache/tests/configurator_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/certbot-apache/certbot_apache/tests/configurator_test.py b/certbot-apache/certbot_apache/tests/configurator_test.py index 59692302d..2a8960564 100644 --- a/certbot-apache/certbot_apache/tests/configurator_test.py +++ b/certbot-apache/certbot_apache/tests/configurator_test.py @@ -128,6 +128,7 @@ class MultipleVhostsTest(util.ApacheTest): def test_get_bad_path(self): from certbot_apache.configurator import get_file_path self.assertEqual(get_file_path(None), None) + self.assertEqual(self.config._create_vhost("nonexistent"), None) def test_bad_servername_alias(self): ssl_vh1 = obj.VirtualHost(