From 6575ed955c6a07c6fbe8f2123a37ff1c4526a36d Mon Sep 17 00:00:00 2001 From: Erica Portnoy Date: Wed, 10 Jan 2018 23:10:32 -0800 Subject: [PATCH] add pylint disables to the tests to make pylint happier about the inheritance and abstraction situation --- certbot-nginx/certbot_nginx/tests/challenges_test.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/certbot-nginx/certbot_nginx/tests/challenges_test.py b/certbot-nginx/certbot_nginx/tests/challenges_test.py index cf7c5df08..8d42655e1 100644 --- a/certbot-nginx/certbot_nginx/tests/challenges_test.py +++ b/certbot-nginx/certbot_nginx/tests/challenges_test.py @@ -16,11 +16,17 @@ from certbot.tests import acme_util from certbot_nginx import obj from certbot_nginx.tests import util - class ChallengePerformTest(object): - """Abstract base class.""" +# pylint: disable=no-member + """Abstract base class. Must have ivars: + - chall_doer + - achalls + - account_key + And must also inherit from util.NginxTest. + """ def tearDown(self): + # pylint: disable=missing-docstring shutil.rmtree(self.temp_dir) shutil.rmtree(self.config_dir) shutil.rmtree(self.work_dir)