client and nginx configs are not the same thing...

This commit is contained in:
Peter Eckersley
2015-09-16 16:58:51 -07:00
parent f450a290c3
commit d89b695be6
@@ -61,7 +61,13 @@ def get_nginx_configurator(
name="nginx",
version=version)
config.prepare()
zope.component.provideUtility(config)
# also make a general client config for good measure...
namespace = mock.MagicMock(
config_dir='/tmp/config', work_dir='/tmp/foo', foo='bar',
server='https://acme-server.org:443/new')
from letsencrypt.configuration import NamespaceConfig
nsconfig = NamespaceConfig(namespace)
zope.component.provideUtility(nsconfig)
return config