From 9ccd46c268e948ab3c8bd0f75b860b111ecfa2e3 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Wed, 22 Jul 2015 18:31:26 -0700 Subject: [PATCH] Cleaned up interfaces --- tests/compatibility/interfaces.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/tests/compatibility/interfaces.py b/tests/compatibility/interfaces.py index a4925014f..fde1f2d45 100644 --- a/tests/compatibility/interfaces.py +++ b/tests/compatibility/interfaces.py @@ -3,26 +3,28 @@ import zope.interface import letsencrypt.interfaces +# pylint: disable=no-self-argument,no-method-argument + class IPluginProxy(zope.interface.Interface): """Wraps a Let's Encrypt plugin""" - def add_parser_arguments(cls, parser): # pylint: disable=no-self-argument + def add_parser_arguments(cls, parser): """Adds command line arguments needed by the parser""" - def __init__(self, args): + def __init__(args): """Initializes the plugin with the given command line args""" - def cleanup_from_tests(self): + def cleanup_from_tests(): """Performs any necessary cleanup from running plugin tests. This is guarenteed to be called before the program exits. """ - def has_more_configs(self): + def has_more_configs(): """Returns True if there are more configs to test""" - def load_config(self): + def load_config(): """Loads the next config and returns its name""" @@ -34,7 +36,7 @@ class IConfiguratorBaseProxy(IPluginProxy): https_port = zope.interface.Attribute( "The port to connect to on localhost for HTTPS traffic") - def get_testable_domain_names(self): + def get_testable_domain_names(): """Returns the domain names that can be used in testing""" @@ -47,7 +49,7 @@ class IInstallerProxy( IConfiguratorBaseProxy, letsencrypt.interfaces.IInstaller): """Wraps a Let's Encrypt installer""" - def get_all_names_answer(self): + def get_all_names_answer(): """Returns all names that should be found by the installer"""