mirror of
https://github.com/certbot/certbot.git
synced 2026-01-26 07:41:33 +03:00
Make sure the HTTP tests do not use wrong vhosts for asserts
This commit is contained in:
@@ -161,7 +161,8 @@ class ApacheHttp01Test(util.ApacheTest):
|
||||
matches = self.config.parser.find_dir("Include",
|
||||
self.http.challenge_conf,
|
||||
vhost.path)
|
||||
self.assertEqual(len(matches), 1)
|
||||
if not vhost.ssl:
|
||||
self.assertEqual(len(matches), 1)
|
||||
|
||||
self.assertTrue(os.path.exists(challenge_dir))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user