From f252f50987cfb1234671ca1742c11a0eebe8633c Mon Sep 17 00:00:00 2001 From: Jan Barta <55042barta@sstebrno.eu> Date: Fri, 3 Jun 2016 12:52:54 +0200 Subject: [PATCH] pylint: fix bad-classmethod-argument Reviewed-By: Tomas Krizek Reviewed-By: Florence Blanc-Renaud --- ipatests/test_ipalib/test_rpc.py | 4 ++-- pylintrc | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ipatests/test_ipalib/test_rpc.py b/ipatests/test_ipalib/test_rpc.py index f03895123..ae83a5d10 100644 --- a/ipatests/test_ipalib/test_rpc.py +++ b/ipatests/test_ipalib/test_rpc.py @@ -257,7 +257,7 @@ class test_xmlclient(PluginTester): class test_xml_introspection(object): @classmethod - def setup_class(self): + def setup_class(cls): try: api.Backend.xmlclient.connect() except (errors.NetworkError, IOError): @@ -265,7 +265,7 @@ class test_xml_introspection(object): (__name__, api.env.xmlrpc_uri)) @classmethod - def teardown_class(self): + def teardown_class(cls): request.destroy_context() def test_list_methods(self): diff --git a/pylintrc b/pylintrc index 102d2d85e..115b295a2 100644 --- a/pylintrc +++ b/pylintrc @@ -59,7 +59,6 @@ disable= unused-argument, unused-variable, useless-else-on-loop, - bad-classmethod-argument, bad-continuation, bad-mcs-classmethod-argument, bad-mcs-method-argument,