mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Remove get_all_certs_keys() from interfaces.py (#3753)
- Remove method 'get_all_certs_keys()' from interfaces.py - Also remove 'get_all_certs_keys()' from plugins/null.py and corresponding unit test
This commit is contained in:
parent
f0ebd13ec2
commit
549f0eccf9
3 changed files with 0 additions and 17 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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__":
|
||||
|
|
|
|||
Loading…
Reference in a new issue