mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 08:12:15 -04:00
Make sure the HTTP tests do not use wrong vhosts for asserts
This commit is contained in:
parent
b8f288a372
commit
63136be2e5
1 changed files with 2 additions and 1 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue