Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErica Portnoy <ebportnoy@gmail.com>2018-01-12 00:20:14 +0300
committerErica Portnoy <ebportnoy@gmail.com>2018-01-12 00:20:14 +0300
commit5210588a29f2fd0c6a787e3b7b03a4a0a51693d4 (patch)
tree36276b51af8cb17a65e1fac050260a17a94cc77c
parent7fa4a7a5b955002dce3ff3b29997855de8270dce (diff)
fix configurator test
-rw-r--r--certbot-nginx/certbot_nginx/tests/configurator_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/certbot-nginx/certbot_nginx/tests/configurator_test.py b/certbot-nginx/certbot_nginx/tests/configurator_test.py
index 6af6aad82..7475df40c 100644
--- a/certbot-nginx/certbot_nginx/tests/configurator_test.py
+++ b/certbot-nginx/certbot_nginx/tests/configurator_test.py
@@ -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,