diff --git a/letsencrypt_apache/tests/configurator_test.py b/letsencrypt_apache/tests/configurator_test.py index cfd8c0574..e988af4f2 100644 --- a/letsencrypt_apache/tests/configurator_test.py +++ b/letsencrypt_apache/tests/configurator_test.py @@ -28,7 +28,7 @@ class TwoVhost80Test(util.ApacheTest): def setUp(self): super(TwoVhost80Test, self).setUp() - with mock.patch("letsencrypt_apache.configurator." + with mock.patch("letsencrypt_apache.configurator.ApacheConfigurator." "mod_loaded") as mock_load: mock_load.return_value = True self.config = util.get_apache_configurator( diff --git a/letsencrypt_apache/tests/dvsni_test.py b/letsencrypt_apache/tests/dvsni_test.py index 27e9b2584..933656e94 100644 --- a/letsencrypt_apache/tests/dvsni_test.py +++ b/letsencrypt_apache/tests/dvsni_test.py @@ -20,7 +20,7 @@ class DvsniPerformTest(util.ApacheTest): def setUp(self): super(DvsniPerformTest, self).setUp() - with mock.patch("letsencrypt_apache.configurator." + with mock.patch("letsencrypt_apache.configurator.ApacheConfigurator." "mod_loaded") as mock_load: mock_load.return_value = True config = util.get_apache_configurator(