diff --git a/certbot-apache/certbot_apache/tests/configurator_test.py b/certbot-apache/certbot_apache/tests/configurator_test.py index a5d48fe57..b9bee9f74 100644 --- a/certbot-apache/certbot_apache/tests/configurator_test.py +++ b/certbot-apache/certbot_apache/tests/configurator_test.py @@ -264,7 +264,7 @@ class MultipleVhostsTest(util.ApacheTest): vh = obj.VirtualHost( "fp", "ap", set([obj.Addr.fromstring("_default_:80")]), False, True) self.config.vhosts = [vh] - self.assertEqual(self.config.find_best_http_vhost("foo.bar", False)) + self.assertEqual(self.config.find_best_http_vhost("foo.bar", False), vh) def test_findbest_continues_on_short_domain(self): # pylint: disable=protected-access