diff --git a/letsencrypt-nginx/letsencrypt_nginx/tests/configurator_test.py b/letsencrypt-nginx/letsencrypt_nginx/tests/configurator_test.py index 977a65330..b9512dde7 100644 --- a/letsencrypt-nginx/letsencrypt_nginx/tests/configurator_test.py +++ b/letsencrypt-nginx/letsencrypt_nginx/tests/configurator_test.py @@ -13,7 +13,7 @@ from letsencrypt import achallenges from letsencrypt import errors from letsencrypt_nginx.tests import util - +import zope.component class NginxConfiguratorTest(util.NginxTest): """Test a semi complex vhost configuration.""" diff --git a/letsencrypt-nginx/letsencrypt_nginx/tests/util.py b/letsencrypt-nginx/letsencrypt_nginx/tests/util.py index 9c8c6a5dd..1ea41b83d 100644 --- a/letsencrypt-nginx/letsencrypt_nginx/tests/util.py +++ b/letsencrypt-nginx/letsencrypt_nginx/tests/util.py @@ -4,6 +4,7 @@ import pkg_resources import unittest import mock +import zope.component from acme import jose @@ -60,6 +61,7 @@ def get_nginx_configurator( name="nginx", version=version) config.prepare() + zope.component.provideUtility(config) return config