fix configurator test

This commit is contained in:
Erica Portnoy 2018-01-11 13:20:14 -08:00
parent 7fa4a7a5b9
commit 5210588a29

View file

@ -290,8 +290,8 @@ class NginxConfiguratorTest(util.NginxTest):
]],
parsed_migration_conf[0])
@mock.patch("certbot_nginx.configurator.nginx_challenges.NginxTlsSni01.perform")
@mock.patch("certbot_nginx.configurator.nginx_challenges.NginxHttp01.perform")
@mock.patch("certbot_nginx.configurator.tls_sni_01.NginxTlsSni01.perform")
@mock.patch("certbot_nginx.configurator.http_01.NginxHttp01.perform")
@mock.patch("certbot_nginx.configurator.NginxConfigurator.restart")
@mock.patch("certbot_nginx.configurator.NginxConfigurator.revert_challenge_config")
def test_perform_and_cleanup(self, mock_revert, mock_restart, mock_http_perform,