fix test-same-vhost

This commit is contained in:
Brad Warren 2018-01-16 21:11:17 -08:00
parent cdf4d4b0ce
commit ac06b0d759

View file

@ -114,7 +114,7 @@ class ApacheHttp01Test(util.ApacheTest):
return other_calls
def test_same_vhost(self):
vhost = self.config.vhosts[3]
vhost = next(v for v in self.config.vhosts if v.name == "certbot.demo")
achalls = [
achallenges.KeyAuthorizationAnnotatedChallenge(
challb=acme_util.chall_to_challb(