diff --git a/certbot/interfaces.py b/certbot/interfaces.py index 5872c38d8..337bb3238 100644 --- a/certbot/interfaces.py +++ b/certbot/interfaces.py @@ -300,19 +300,6 @@ class IInstaller(IPlugin): """ - def get_all_certs_keys(): - """Retrieve all certs and keys set in configuration. - - :returns: tuples with form `[(cert, key, path)]`, where: - - - `cert` - str path to certificate file - - `key` - str path to associated key file - - `path` - file path to configuration file - - :rtype: list - - """ - def save(title=None, temporary=False): """Saves all changes to the configuration files. diff --git a/certbot/plugins/null.py b/certbot/plugins/null.py index 995b96274..87c0737a5 100644 --- a/certbot/plugins/null.py +++ b/certbot/plugins/null.py @@ -40,9 +40,6 @@ class Installer(common.Plugin): def supported_enhancements(self): return [] - def get_all_certs_keys(self): - return [] - def save(self, title=None, temporary=False): pass # pragma: no cover diff --git a/certbot/plugins/null_test.py b/certbot/plugins/null_test.py index 305954a2f..0d04a2bc5 100644 --- a/certbot/plugins/null_test.py +++ b/certbot/plugins/null_test.py @@ -15,7 +15,6 @@ class InstallerTest(unittest.TestCase): self.assertTrue(isinstance(self.installer.more_info(), str)) self.assertEqual([], self.installer.get_all_names()) self.assertEqual([], self.installer.supported_enhancements()) - self.assertEqual([], self.installer.get_all_certs_keys()) if __name__ == "__main__":